Bewerken

Delen via


WebHttpSecurityElement.Transport Property

Definition

Gets an XML element that indicates the transport-level security settings for a service endpoint configured to receive HTTP requests.

public:
 property System::ServiceModel::Configuration::HttpTransportSecurityElement ^ Transport { System::ServiceModel::Configuration::HttpTransportSecurityElement ^ get(); };
[System.Configuration.ConfigurationProperty("transport")]
public System.ServiceModel.Configuration.HttpTransportSecurityElement Transport { get; }
[<System.Configuration.ConfigurationProperty("transport")>]
member this.Transport : System.ServiceModel.Configuration.HttpTransportSecurityElement
Public ReadOnly Property Transport As HttpTransportSecurityElement

Property Value

A WebHttpSecurityElement that specifies the transport-level security settings. The default values set are a ClientCredentialType of None, a ProxyCredentialType of None, and Realm = "".

Attributes

Remarks

Use the WebHttpSecurityElement object returned by this property to set the transport security parameters. The WebHttpSecurityMode must be set to the Transport or TransportCredentialOnly value for the settings provided by the Transport property to become effective for the service endpoint. This value can be set in configuration or in the WebHttpBinding(WebHttpSecurityMode) constructor.

Applies to