Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

GraphClient.ConnectAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)

ConnectAsync()

Begins asynchronous Connect operation. Connects to the Exchange Online (Microsoft 365) server at https://graph.microsoft.com.

Declaration
public Task ConnectAsync()
Returns
Type Description
Task

ConnectAsync(String, Int32)

Begins asynchronous Connect operation. Connects to a server using specified port using HTTPS.

Declaration
public Task ConnectAsync(string serverName = "graph.microsoft.com", int serverPort = 443)
Parameters
Type Name Description
String serverName

Name of the server ('graph.microsoft.com').

Int32 serverPort

Port of the server (443).

Returns
Type Description
Task
In This Article
  • ConnectAsync()
  • ConnectAsync(String, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies