SocketAsyncEventArgs.SocketFlags SocketAsyncEventArgs.SocketFlags SocketAsyncEventArgs.SocketFlags SocketAsyncEventArgs.SocketFlags Property

定义

获取异步套接字操作的结果或设置异步操作的行为。Gets the results of an asynchronous socket operation or sets the behavior of an asynchronous operation.

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

属性值

一个 SocketFlags,表示异步套接字操作的结果。A SocketFlags that represents the results of an asynchronous socket operation.

注解

该属性指定的按位组合System.Net.Sockets.SocketFlags要用于异步套接字操作。The property specifies the bitwise combination of the System.Net.Sockets.SocketFlags to be used for an asynchronous socket operation.

此属性用于Socket.ReceiveAsyncSocket.ReceiveFromAsyncSocket.SendAsync,和Socket.SendToAsync方法。This property is used with the Socket.ReceiveAsync, Socket.ReceiveFromAsync, Socket.SendAsync, and Socket.SendToAsync methods.

适用于

另请参阅