Auf Englisch lesen Bearbeiten

Freigeben über


NetNamedPipeSecurity.Transport Property

Definition

Gets the transport security for the named pipe binding.

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

Property Value

The value of the NamedPipeTransportSecurity for the named pipe binding.

Examples

The following code shows how to access the Transport property:

NamedPipeTransportSecurity npts = nnpSecurity.Transport;

Remarks

This method gives access to the ProtectionLevel for the named pipe transport through ProtectionLevel.

Applies to

Produkt Versionen
.NET 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1