Udostępnij za pośrednictwem


NetTcpBindingElement.PortSharingEnabled Właściwość

Definicja

Pobiera lub ustawia wartość logiczną, która określa, czy udostępnianie portów TCP jest włączone dla tego połączenia.

public:
 property bool PortSharingEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("portSharingEnabled", DefaultValue=false)]
public bool PortSharingEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("portSharingEnabled", DefaultValue=false)>]
member this.PortSharingEnabled : bool with get, set
Public Property PortSharingEnabled As Boolean

Wartość właściwości

Boolean

true jeśli udostępnianie portów TCP jest włączone dla tego połączenia; w przeciwnym razie false .

Atrybuty

Dotyczy