StreamSocketListenerConnectionReceivedEventArgs class
Provides data for a ConnectionReceived event on a StreamSocketListener object.
Syntax
Attributes
- DualApiPartitionAttribute()
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The StreamSocketListenerConnectionReceivedEventArgs class has these types of members:
Methods
The StreamSocketListenerConnectionReceivedEventArgs class inherits methods from the Object class (C#/VB/C++).
Properties
The StreamSocketListenerConnectionReceivedEventArgs class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | The StreamSocket object created when a connection is received by the StreamSocketListener object. |
Remarks
The StreamSocketListenerConnectionReceivedEventArgs is used to receive connection data on a StreamSocketListener object.
The StreamSocketListener.BindServiceNameAsync or StreamSocketListener.BindEndpointAsync method is used to bind a StreamSocketListener to a local service name or TCP port.
A StreamSocketListener.ConnectionReceived event occurs if a StreamSocketListener object has been bound to a local service name or TCP port and a connection is received. A StreamSocketListenerConnectionReceivedEventArgs instance is a parameter specified in the callback.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps, desktop apps] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps, desktop apps] |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
|
Capabilities |
|
See also
Build date: 2/25/2013