Share via


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

戻り値

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

注釈

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

適用対象