Share via


NetTcpBindingElement.PortSharingEnabled Eigenschaft

Definition

Ruft einen booleschen Wert ab und legt einen booleschen Wert fest, der angibt, ob die TCP-Portfreigabe für diese Verbindung aktiviert ist.

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

Eigenschaftswert

Boolean

true, wenn TCP-Portfreigabe für diese Verbindung aktiviert ist, andernfalls false.

Attribute

Gilt für