1 write to connectionFactory
System.ServiceModel (1)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
38
this.
connectionFactory
= connectionFactory;
15 references to connectionFactory
System.ServiceModel (15)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (15)
330
if (this.
connectionFactory
!= null)
365
if (this.
connectionFactory
!= null)
464
Fx.Assert(this.
connectionFactory
!= null, "Invalid call: UseWebSocketVersionFromFactory.");
468
TD.WebSocketUseVersionFromClientWebSocketFactory(this.EventTraceActivity, this.
connectionFactory
.GetType().FullName);
475
webSocketVersion = this.
connectionFactory
.WebSocketVersion;
484
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_GetWebSocketVersionFailed, this.
connectionFactory
.GetType().Name), e));
490
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocketVersion, this.
connectionFactory
.GetType().Name)));
499
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocketVersion, this.
connectionFactory
.GetType().Name), e));
505
Fx.Assert(this.
connectionFactory
!= null, "Invalid call: CreateWebSocketWithFactory.");
509
TD.WebSocketCreateClientWebSocketWithFactory(this.EventTraceActivity, this.
connectionFactory
.GetType().FullName);
516
ws = this.
connectionFactory
.CreateWebSocket(this.connection, this.WebSocketSettings.Clone());
525
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_CreateWebSocketFailed, this.
connectionFactory
.GetType().Name), e));
531
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocket, this.
connectionFactory
.GetType().Name)));
536
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocket, this.
connectionFactory
.GetType().Name)));
545
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidSubProtocol, this.
connectionFactory
.GetType().Name, obtained, requested)));