Language

IdentityVerifier.TryGetIdentity(EndpointAddress, EndpointIdentity) メソッド

定義

エンドポイントから ID の作成を試みます。

public:
 abstract bool TryGetIdentity(System::ServiceModel::EndpointAddress ^ reference, [Runtime::InteropServices::Out] System::ServiceModel::EndpointIdentity ^ % identity);
public abstract bool TryGetIdentity(System.ServiceModel.EndpointAddress reference, out System.ServiceModel.EndpointIdentity identity);
abstract member TryGetIdentity : System.ServiceModel.EndpointAddress * EndpointIdentity -> bool
Public MustOverride Function TryGetIdentity (reference As EndpointAddress, ByRef identity As EndpointIdentity) As Boolean

パラメーター

reference
EndpointAddress

ID の作成に使用する EndpointAddress 。

identity
EndpointIdentity

返される EndpointIdentity 。

戻り値

true ID が返される場合。それ以外の場合は false。 既定値は false です。

注釈

既定のIdentityVerifierでは、明示的なDnsEndpointIdentityがUriの一部として指定されていない場合、EndpointIdentityのホスト名部分に基づいてEndpointAddressが作成されます。

適用対象