System.Net.Sockets.SocketAsyncEventArgs.SocketError Property

Gets or sets the result of the asynchronous socket operation.

Syntax

public SocketError SocketError { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This property provides the completion status of an asynchronous socket operation. A value of SocketError.Success indicates successful completion of an operation. This property is primarily used in an application’s event handler routine.

This property is used with all of the asynchronous socket (xxxAsync) methods.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0