IdentityVerifier.TryGetIdentity(EndpointAddress, EndpointIdentity) Metoda

Definice

Pokusí se vytvořit identitu z koncového bodu.

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

Parametry

reference
EndpointAddress

, Který EndpointAddress se má použít k vytvoření identity.

Návraty

Boolean

true Pokud je vrácena identita; v opačném případě false . Výchozí formát je false.

Poznámky

Výchozí hodnota IdentityVerifier vytvoří na DnsEndpointIdentity základě části názvu hostitele, Uri Pokud explicitně nebyla EndpointIdentity zadána jako součást prvku EndpointAddress .

Platí pro