6 instantiations of SocketAsyncEventArgs
System (3)
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
116
internalArgs = new
SocketAsyncEventArgs
();
net\System\Net\WebSockets\WebSocketConnectionStream.cs (2)
872
m_ReadEventArgs = new
SocketAsyncEventArgs
();
875
m_WriteEventArgs = new
SocketAsyncEventArgs
();
System.ServiceModel (3)
System\ServiceModel\Channels\SocketAsyncEventArgsPool.cs (1)
78
SocketAsyncEventArgs eventArgs = new
SocketAsyncEventArgs
();
System\ServiceModel\Channels\SocketConnection.cs (2)
1528
this.asyncReadEventArgs = new
SocketAsyncEventArgs
();
1545
this.asyncWriteEventArgs = new
SocketAsyncEventArgs
();
52 references to SocketAsyncEventArgs
System (28)
net\System\Net\Sockets\_MultipleConnectAsync.cs (4)
15
protected
SocketAsyncEventArgs
userArgs;
16
protected
SocketAsyncEventArgs
internalArgs;
37
public bool StartConnectAsync(
SocketAsyncEventArgs
args, DnsEndPoint endPoint)
143
private void InternalConnectCallback(object sender,
SocketAsyncEventArgs
args)
net\System\Net\Sockets\Socket.cs (15)
7678
public bool AcceptAsync(
SocketAsyncEventArgs
e) {
7759
public bool ConnectAsync(
SocketAsyncEventArgs
e) {
7867
public static bool ConnectAsync(SocketType socketType, ProtocolType protocolType,
SocketAsyncEventArgs
e) {
7909
public static void CancelConnectAsync(
SocketAsyncEventArgs
e) {
7920
public bool DisconnectAsync(
SocketAsyncEventArgs
e) {
7969
public bool ReceiveAsync(
SocketAsyncEventArgs
e) {
8041
public bool ReceiveFromAsync(
SocketAsyncEventArgs
e) {
8133
public bool ReceiveMessageFromAsync(
SocketAsyncEventArgs
e) {
8211
public bool SendAsync(
SocketAsyncEventArgs
e) {
8284
public bool SendPacketsAsync(
SocketAsyncEventArgs
e) {
8354
public bool SendToAsync(
SocketAsyncEventArgs
e) {
8605
private event EventHandler<
SocketAsyncEventArgs
> m_Completed;
8776
public event EventHandler<
SocketAsyncEventArgs
> Completed {
8788
protected virtual void OnCompleted(
SocketAsyncEventArgs
e) {
8789
EventHandler<
SocketAsyncEventArgs
> handler = m_Completed;
net\System\Net\WebSockets\WebSocketConnectionStream.cs (9)
454
private static readonly EventHandler<
SocketAsyncEventArgs
> s_OnReadCompleted =
455
new EventHandler<
SocketAsyncEventArgs
>(OnReadCompleted);
456
private static readonly EventHandler<
SocketAsyncEventArgs
> s_OnWriteCompleted =
457
new EventHandler<
SocketAsyncEventArgs
>(OnWriteCompleted);
477
private
SocketAsyncEventArgs
m_WriteEventArgs;
478
private
SocketAsyncEventArgs
m_ReadEventArgs;
880
private static string GetIOCompletionTraceMsg(
SocketAsyncEventArgs
eventArgs)
889
private static void OnWriteCompleted(object sender,
SocketAsyncEventArgs
eventArgs)
921
private static void OnReadCompleted(object sender,
SocketAsyncEventArgs
eventArgs)
System.Net (1)
AssemblyInfo.cs (1)
55
[assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.
SocketAsyncEventArgs
))]
System.ServiceModel (23)
System\ServiceModel\Channels\SocketAsyncEventArgsPool.cs (6)
10
class SocketAsyncEventArgsPool : QueuedObjectPool<
SocketAsyncEventArgs
>
34
public override bool Return(
SocketAsyncEventArgs
socketAsyncEventArgs)
47
internal static void CleanupAcceptSocket(
SocketAsyncEventArgs
socketAsyncEventArgs)
71
protected override void CleanupItem(
SocketAsyncEventArgs
item)
76
protected override
SocketAsyncEventArgs
Create()
78
SocketAsyncEventArgs
eventArgs = new SocketAsyncEventArgs();
System\ServiceModel\Channels\SocketConnection.cs (17)
25
static EventHandler<
SocketAsyncEventArgs
> onReceiveAsyncCompleted;
26
static EventHandler<
SocketAsyncEventArgs
> onSocketSendCompleted;
52
SocketAsyncEventArgs
asyncReadEventArgs;
61
SocketAsyncEventArgs
asyncWriteEventArgs;
267
static void OnReceiveAsyncCompleted(object sender,
SocketAsyncEventArgs
e)
272
static void OnSendAsyncCompleted(object sender,
SocketAsyncEventArgs
e)
938
void OnSendAsync(object sender,
SocketAsyncEventArgs
eventArgs)
1298
void OnReceiveAsync(object sender,
SocketAsyncEventArgs
eventArgs)
1404
void SetUserToken(
SocketAsyncEventArgs
args, object userToken)
1525
onReceiveAsyncCompleted = new EventHandler<
SocketAsyncEventArgs
>(OnReceiveAsyncCompleted);
1542
onSocketSendCompleted = new EventHandler<
SocketAsyncEventArgs
>(OnSendAsyncCompleted);
2012
SocketAsyncEventArgs
TakeSocketAsyncEventArgs()
2017
void ReturnSocketAsyncEventArgs(
SocketAsyncEventArgs
socketAsyncEventArgs)
2163
SocketAsyncEventArgs
socketAsyncEventArgs;
2168
static EventHandler<
SocketAsyncEventArgs
> acceptAsyncCompleted = new EventHandler<
SocketAsyncEventArgs
>(AcceptAsyncCompleted);
2313
static void AcceptAsyncCompleted(object sender,
SocketAsyncEventArgs
e)