Aracılığıyla paylaş


WebHttpSecurity.Transport Özellik

Tanım

Bu bağlama için aktarım düzeyi güvenlik ayarlarını içeren bir nesnesi alır.

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

Özellik Değeri

HttpTransportSecurity Bu bağlama için.

Ayarlanan varsayılan değerler , , ve Realm = "" değerlerinin Nonebir ProxyCredentialTypeClientCredentialTypeNonedeğeridir.

Açıklamalar

HttpTransportSecurity için aktarım güvenlik parametrelerini ayarlamak için WebHttpBindingbu özellik tarafından döndürülen nesnesini kullanın.

Transport veya TransportCredentialOnly değeri yöntemi tarafından WebHttpBinding(WebHttpSecurityMode) belirtilirse, özelliği tarafından Transport sağlanan ayarlar hizmet uç noktası için etkili olur.

TransportCredentialOnly Değer yöntemi tarafından WebHttpBinding(WebHttpSecurityMode) belirtilirse, özelliği tarafından Transport sağlanan ayarlar hizmet uç noktası için etkili olur. değeri WebHttpSecurityMode yalnızca onu açık parametre olarak alan oluşturucuda WebHttpBinding ayarlanabilir ve bağlama örneği oluşturulduktan sonra değeri yeniden ayarlanamaz.

Şunlara uygulanır