StreamSocketListener.Control StreamSocketListener.Control StreamSocketListener.Control StreamSocketListener.Control StreamSocketListener.Control Property

Definition

Gets socket control data on a StreamSocketListener object.

public : StreamSocketListenerControl Control { get; }
StreamSocketListenerControl Control();
public StreamSocketListenerControl Control { get; }
Public ReadOnly Property Control As StreamSocketListenerControl
var streamSocketListenerControl = streamSocketListener.control;

Property Value

Additional features and requirements

Capabilities
ID_CAP_NETWORKING [Windows Phone]

Remarks

The Control property gets the StreamSocketListenerControl instance associated with a StreamSocketListener object.

A StreamSocketListenerControl object is automatically created with the parent StreamSocketListener object. The StreamSocketListenerControl instance can then be used to get or set control data used by the StreamSocketListener object. These properties on the StreamSocketControl instance include the following:

Any changes to the StreamSocketListenerControl property values must be set before the StreamSocketListener is bound. So changes to the QualityOfService property must be set before the BindServiceNameAsync or BindEndpointAsync method is called on the StreamSocketListener.

See also