1 write to m_WriteEventArgs
System (1)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
875
m_WriteEventArgs
= new SocketAsyncEventArgs();
15 references to m_WriteEventArgs
System (15)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (15)
554
if (
m_WriteEventArgs
!= null)
556
m_WriteEventArgs
.Completed -= s_OnWriteCompleted;
557
m_WriteEventArgs
.Dispose();
657
m_WriteEventArgs
.SetBuffer(null, 0, 0);
658
m_WriteEventArgs
.BufferList = sendBuffers;
659
completedAsynchronously = InnerSocket.SendAsync(
m_WriteEventArgs
);
662
if (
m_WriteEventArgs
.SocketError != SocketError.Success)
664
throw new SocketException(
m_WriteEventArgs
.SocketError);
709
m_WriteEventArgs
.BufferList = null;
710
m_WriteEventArgs
.SetBuffer(buffer, offset, count);
711
completedAsynchronously = InnerSocket.SendAsync(
m_WriteEventArgs
);
714
if (
m_WriteEventArgs
.SocketError != SocketError.Success)
716
throw new SocketException(
m_WriteEventArgs
.SocketError);
876
m_WriteEventArgs
.UserToken = this;
877
m_WriteEventArgs
.Completed += s_OnWriteCompleted;