WSDualHttpBinding.Security Eigenschap

Definitie

Hiermee haalt u een object op dat de beveiligingsinstellingen opgeeft die met deze binding worden gebruikt.

public:
 property System::ServiceModel::WSDualHttpSecurity ^ Security { System::ServiceModel::WSDualHttpSecurity ^ get(); };
public:
 property System::ServiceModel::WSDualHttpSecurity ^ Security { System::ServiceModel::WSDualHttpSecurity ^ get(); void set(System::ServiceModel::WSDualHttpSecurity ^ value); };
public System.ServiceModel.WSDualHttpSecurity Security { get; }
public System.ServiceModel.WSDualHttpSecurity Security { get; set; }
member this.Security : System.ServiceModel.WSDualHttpSecurity
member this.Security : System.ServiceModel.WSDualHttpSecurity with get, set
Public ReadOnly Property Security As WSDualHttpSecurity
Public Property Security As WSDualHttpSecurity

Waarde van eigenschap

Hiermee WSDualHttpSecurity geeft u beveiligingsinstellingen op die worden gebruikt met de binding. De standaardwaarde van WSDualHttpSecurityMode is Message.

Voorbeelden

In het volgende voorbeeld ziet u hoe u het type beveiliging van de binding kunt ophalen.

WSDualHttpSecurity security = binding.Security;
Dim security As WSDualHttpSecurity = binding.Security

Opmerkingen

Een dubbele binding maakt het IP-adres van de client beschikbaar voor de service. De client moet beveiliging gebruiken om ervoor te zorgen dat deze alleen verbinding maakt met services die worden vertrouwd.

Van toepassing op