Bewerken

Delen via


SocketAsyncEventArgs.SocketError Property

Definition

Gets or sets the result of the asynchronous socket operation.

public:
 property System::Net::Sockets::SocketError SocketError { System::Net::Sockets::SocketError get(); void set(System::Net::Sockets::SocketError value); };
public System.Net.Sockets.SocketError SocketError { get; set; }
member this.SocketError : System.Net.Sockets.SocketError with get, set
Public Property SocketError As SocketError

Property Value

A SocketError that represents the result of the asynchronous socket operation.

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.

Applies to

See also