25 references to Connection
System.ServiceModel (25)
System\ServiceModel\Channels\ConnectionDemuxer.cs (4)
238TraceEventType eventType = modeReader.Connection.ExceptionEventType; 255TraceEventType eventType = modeReader.Connection.ExceptionEventType; 263OnDuplexConnection(modeReader.Connection, modeReader.ConnectionDequeuedCallback, 269OnSingletonConnection(modeReader.Connection, modeReader.ConnectionDequeuedCallback,
System\ServiceModel\Channels\ConnectionModeReader.cs (7)
73if (Connection.BeginRead(0, Connection.AsyncReadBufferSize, GetRemainingTimeout(), 99Connection, framingFault, drainBuffer, GetRemainingTimeout(), 158size = Connection.EndRead(); 173Connection.ExceptionEventType = TraceEventType.Error; 177buffer = Connection.AsyncReadBuffer; 187throw DiagnosticUtility.ExceptionUtility.ThrowHelper(readException, Connection.ExceptionEventType);
System\ServiceModel\Channels\SessionConnectionReader.cs (7)
137size = Connection.EndRead(); 158if (Connection.BeginRead(0, connectionBuffer.Length, GetRemainingTimeout(), readCallback, this) 182IAsyncResult result = this.Connection.BeginValidate(this.via, onValidate, this); 233return this.Connection.EndValidate(result) && this.ContinuePostValidationProcessing(); 320Connection, faultString, this.connectionBuffer, GetRemainingTimeout(), 329this.connectionBuffer = Connection.AsyncReadBuffer; 357this.Connection = preambleReader.Connection;
System\ServiceModel\Channels\SingletonConnectionReader.cs (7)
129if (Connection.BeginRead(0, connectionBuffer.Length, GetRemainingTimeout(), 152IAsyncResult result = this.Connection.BeginValidate(this.via, onValidate, this); 204return this.Connection.EndValidate(result) && this.ContinuePostValidationProcessing(); 295InitialServerConnectionReader.SendFault(Connection, faultString, 407this.currentConnection = this.parent.Connection; 891size = Connection.EndRead(); 946this.connectionBuffer = Connection.AsyncReadBuffer;