GraphClient.ConnectAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9119)
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 |