GetEwsClientAsync
EWSClient.GetEwsClientAsync method
初始化EWSClient
基于类
public static Task<IAsyncEwsClient> GetEwsClientAsync(string mailboxUri, ICredentials credentials,
WebProxy proxy = null, CancellationToken cancellationToken = default)
范围 | 类型 | 描述 |
---|---|---|
mailboxUri | String | 邮箱的URI |
credentials | ICredentials | 包含用于身份验证的凭据。 |
proxy | WebProxy | 包含 HTTP 代理设置 |
cancellationToken | CancellationToken | 取消令牌 |
返回值
基于类的实例EWSClient
班级。
也可以看看
- interface IAsyncEwsClient
- class EWSClient
- 命名空间 Aspose.Email.Clients.Exchange.WebService
- 部件 Aspose.Email