Redigeeri

Jagamisviis:


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