ExchangeCredentials.Implicit 操作员

定义

重载

Implicit(CredentialCache to ExchangeCredentials)

T:System.Net.CredentialCacheExchangeCredentials 类对象执行隐式转换。

Implicit(NetworkCredential to ExchangeCredentials)

执行从 System.Net 凭据到 Exchange 凭据的隐式转换。 这将启用 T:System.Net.NetworkCredentialExchangeCredentials 对象,该对象在类对象上 ExchangeService 设置凭据时很有用。

Implicit(CredentialCache to ExchangeCredentials)

T:System.Net.CredentialCacheExchangeCredentials 类对象执行隐式转换。

public:
 static operator Microsoft::Exchange::WebServices::Data::ExchangeCredentials ^(System::Net::CredentialCache ^ credentials);
public static implicit operator Microsoft.Exchange.WebServices.Data.ExchangeCredentials (System.Net.CredentialCache credentials);
Public Shared Widening Operator CType (credentials As CredentialCache) As ExchangeCredentials

参数

credentials
CredentialCache

要转换的凭据。

返回

转换的结果。

适用于

Implicit(NetworkCredential to ExchangeCredentials)

执行从 System.Net 凭据到 Exchange 凭据的隐式转换。 这将启用 T:System.Net.NetworkCredentialExchangeCredentials 对象,该对象在类对象上 ExchangeService 设置凭据时很有用。

public:
 static operator Microsoft::Exchange::WebServices::Data::ExchangeCredentials ^(System::Net::NetworkCredential ^ credentials);
public static implicit operator Microsoft.Exchange.WebServices.Data.ExchangeCredentials (System.Net.NetworkCredential credentials);
Public Shared Widening Operator CType (credentials As NetworkCredential) As ExchangeCredentials

参数

credentials
NetworkCredential

凭据。

返回

转换的结果。

适用于