1 write to channel
System.ServiceModel (1)
System\ServiceModel\ClientBase.cs (1)
1120
this.
channel
= cf.ServiceChannelFactory.CreateServiceChannel(client.Endpoint.Address, client.Endpoint.Address.Uri);
62 references to channel
System.ServiceModel (62)
System\ServiceModel\ClientBase.cs (62)
1121
this.
channel
.InstanceContext = cf.CallbackInstance;
1122
this.runtime = this.
channel
.ClientRuntime.GetRuntime();
1138
return this.
channel
.BeginCall(op.Action, op.IsOneWay, op, ins, callback, state);
1154
object ret = this.
channel
.EndCall(op.Action, outs, result);
1176
get { return ((IClientChannel)this.
channel
).AllowInitializationUI; }
1177
set { ((IClientChannel)this.
channel
).AllowInitializationUI = value; }
1182
get { return ((IClientChannel)this.
channel
).DidInteractiveInitialization; }
1187
get { return ((IClientChannel)this.
channel
).Via; }
1192
add { ((IClientChannel)this.
channel
).UnknownMessageReceived += value; }
1193
remove { ((IClientChannel)this.
channel
).UnknownMessageReceived -= value; }
1198
((IClientChannel)this.
channel
).DisplayInitializationUI();
1203
return ((IClientChannel)this.
channel
).BeginDisplayInitializationUI(callback, state);
1208
((IClientChannel)this.
channel
).EndDisplayInitializationUI(result);
1213
get { return ((IContextChannel)this.
channel
).AllowOutputBatching; }
1214
set { ((IContextChannel)this.
channel
).AllowOutputBatching = value; }
1219
get { return ((IContextChannel)this.
channel
).InputSession; }
1224
get { return ((IContextChannel)this.
channel
).LocalAddress; }
1229
get { return ((IContextChannel)this.
channel
).OperationTimeout; }
1230
set { ((IContextChannel)this.
channel
).OperationTimeout = value; }
1235
get { return ((IContextChannel)this.
channel
).OutputSession; }
1240
get { return ((IContextChannel)this.
channel
).RemoteAddress; }
1245
get { return ((IContextChannel)this.
channel
).SessionId; }
1250
return ((IChannel)this.
channel
).GetProperty<TProperty>();
1255
get { return ((ICommunicationObject)this.
channel
).State; }
1260
add { ((ICommunicationObject)this.
channel
).Closed += value; }
1261
remove { ((ICommunicationObject)this.
channel
).Closed -= value; }
1266
add { ((ICommunicationObject)this.
channel
).Closing += value; }
1267
remove { ((ICommunicationObject)this.
channel
).Closing -= value; }
1272
add { ((ICommunicationObject)this.
channel
).Faulted += value; }
1273
remove { ((ICommunicationObject)this.
channel
).Faulted -= value; }
1278
add { ((ICommunicationObject)this.
channel
).Opened += value; }
1279
remove { ((ICommunicationObject)this.
channel
).Opened -= value; }
1284
add { ((ICommunicationObject)this.
channel
).Opening += value; }
1285
remove { ((ICommunicationObject)this.
channel
).Opening -= value; }
1290
((ICommunicationObject)this.
channel
).Abort();
1295
((ICommunicationObject)this.
channel
).Close();
1300
((ICommunicationObject)this.
channel
).Close(timeout);
1305
return ((ICommunicationObject)this.
channel
).BeginClose(callback, state);
1310
return ((ICommunicationObject)this.
channel
).BeginClose(timeout, callback, state);
1315
((ICommunicationObject)this.
channel
).EndClose(result);
1320
((ICommunicationObject)this.
channel
).Open();
1325
((ICommunicationObject)this.
channel
).Open(timeout);
1330
return ((ICommunicationObject)this.
channel
).BeginOpen(callback, state);
1335
return ((ICommunicationObject)this.
channel
).BeginOpen(timeout, callback, state);
1340
((ICommunicationObject)this.
channel
).EndOpen(result);
1345
get { return ((IExtensibleObject<IContextChannel>)this.
channel
).Extensions; }
1350
((IDisposable)this.
channel
).Dispose();
1355
get { return ((IOutputChannel)this.
channel
).Via; }
1360
get { return ((IOutputChannel)this.
channel
).RemoteAddress; }
1365
((IOutputChannel)this.
channel
).Send(message);
1370
((IOutputChannel)this.
channel
).Send(message, timeout);
1375
return ((IOutputChannel)this.
channel
).BeginSend(message, callback, state);
1380
return ((IOutputChannel)this.
channel
).BeginSend(message, timeout, callback, state);
1385
((IOutputChannel)this.
channel
).EndSend(result);
1390
get { return ((IRequestChannel)this.
channel
).Via; }
1395
get { return ((IRequestChannel)this.
channel
).RemoteAddress; }
1400
return ((IRequestChannel)this.
channel
).Request(message);
1405
return ((IRequestChannel)this.
channel
).Request(message, timeout);
1410
return ((IRequestChannel)this.
channel
).BeginRequest(message, callback, state);
1415
return ((IRequestChannel)this.
channel
).BeginRequest(message, timeout, callback, state);
1420
return ((IRequestChannel)this.
channel
).EndRequest(result);
1425
return this.
channel
;