Share via


WebHttpSecurity.Transport Propiedad

Definición

Obtiene un objeto que contiene los valores de seguridad de nivel de transporte para este enlace.

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

Valor de propiedad

HttpTransportSecurity

HttpTransportSecurity para este enlace.

El conjunto de valores predeterminados es ClientCredentialType de None, ProxyCredentialType de None, y Realm = "".

Comentarios

Utilice el objeto HttpTransportSecurity devuelto por esta propiedad para establecer los parámetros de seguridad de transporte para WebHttpBinding.

Si el valor Transport o TransportCredentialOnly está especificado por el método WebHttpBinding(WebHttpSecurityMode), la configuración proporcionada por la propiedad Transport es eficaz para el punto de conexión de servicio.

Si el valor TransportCredentialOnly está especificado por el método WebHttpBinding(WebHttpSecurityMode), los valores proporcionados por la propiedad Transport son eficaces para el extremo de servicio. El valor del constructor WebHttpSecurityMode solo se puede establecer en el constructor WebHttpBinding que lo toma como parámetro explícito y su valor no se puede establecer de nuevo una vez creada la instancia de enlace.

Se aplica a