Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClientBase<TChannel>.ChannelBase<T> Class

This class is used by automatically generated client proxies to call services and should not be used otherwise.

System.Object
  System.ServiceModel.ClientBase<TChannel>.ChannelBase<T>

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected class ChannelBase<T> : IClientChannel, 
	IContextChannel, IExtensibleObject<IContextChannel>, IDisposable, IOutputChannel, 
	IRequestChannel, IChannel, ICommunicationObject
where T : class

Type Parameters

T

The ClientBase<TChannel>.ChannelBase<T> generic type exposes the following members.

  NameDescription
Protected methodSupported by Silverlight for Windows PhoneClientBase<TChannel>.ChannelBase<T>Initializes a new instance of the ClientBase<TChannel> class from an existing instance of the class.
Top

  NameDescription
Protected methodSupported by Silverlight for Windows PhoneBeginInvokeStarts an asynchronous call of a specified method by name.
Protected methodSupported by Silverlight for Windows PhoneEndInvokeCompletes an asynchronous invocation by name of a specified method.
Public methodSupported by Silverlight for Windows PhoneEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIChannel.GetProperty<TProperty>Returns a typed object requested, if present, from the appropriate layer in the channel stack.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIClientChannel.AllowInitializationUIThe EndpointAddress serves as both the ultimate destination and the physical address if a Via is not specified. If the Via is specified, then that is the actual physical address to which the message is sent and through which the message must go to arrive at its destination.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIClientChannel.BeginDisplayInitializationUIAn asynchronous call to begin using a user interface to obtain credential information.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIClientChannel.DidInteractiveInitializationGets a value that indicates whether a call was done to a user interface to obtain credential information.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIClientChannel.DisplayInitializationUIA call to a user interface to obtain credential information.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIClientChannel.EndDisplayInitializationUICalled when the call to BeginDisplayInitializationUI has finished.
Explicit interface implemetationPrivate eventIClientChannel.UnknownMessageReceivedThis is a reserved event.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIClientChannel.ViaGets the URI that contains the transport address to which messages are sent on the client channel.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.AbortCauses a communication object to transition immediately from its current state into the closed state.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.BeginClose(AsyncCallback, Object)Begins an asynchronous operation to close a communication object.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to close a communication object with a specified time-out.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.BeginOpen(AsyncCallback, Object)Begins an asynchronous operation to open a communication object.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to open a communication object within a specified interval of time.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.Close()Causes a communication object to transition from its current state into the closed state.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.Close(TimeSpan)Causes a communication object to transition from its current state into the closed state.
Explicit interface implemetationPrivate eventICommunicationObject.ClosedThe event handler that is invoked when the ClientBase object has transitioned from its current state to the closed state.
Explicit interface implemetationPrivate eventICommunicationObject.ClosingThe event handler that is invoked when the ClientBase object transitions from its current state to the closed state.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.EndCloseCompletes an asynchronous operation to close a communication object.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.EndOpenCompletes an asynchronous operation to open a communication object.
Explicit interface implemetationPrivate eventICommunicationObject.FaultedThe event handler that is invoked when a fault occurs while performing an operation on the ClientBase object.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.Open()Causes a communication object to transition from the created state into the opened state.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneICommunicationObject.Open(TimeSpan)Causes a communication object to transition from the created state into the opened state within a specified interval of time.
Explicit interface implemetationPrivate eventICommunicationObject.OpenedThe event handler that is invoked when the ClientBase object has transitioned from the created state to the opened state.
Explicit interface implemetationPrivate eventICommunicationObject.OpeningThe event handler that is invoked when the ClientBase object transitions from the created state to the opened state.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneICommunicationObject.StateGets the current state of the communication-oriented object.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.AllowOutputBatchingGets or sets a value that instructs Silverlight 5 to store a set of messages before giving the messages to the transport.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.InputSessionGets the input session for the channel.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.LocalAddressGets the local endpoint for the channel.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.OperationTimeoutGets or sets the time period within which an operation must complete or an exception is thrown.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.OutputSessionGets the output session associated with the channel, if any.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.RemoteAddressGets the remote address associated with the channel.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIContextChannel.SessionIdReturns an identifier for the current session, if any.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIDisposable.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources associated with the channel.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIExtensibleObject<IContextChannel>.ExtensionsGets a collection of extension objects for this extensible object.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIOutputChannel.BeginSend(Message, AsyncCallback, Object)Begins an asynchronous operation to transmit a message to the destination of the output channel.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIOutputChannel.BeginSend(Message, TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to transmit a message to the destination of the output channel within a specified interval of time.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIOutputChannel.EndSendCompletes an asynchronous operation to transmit a message to the destination of the output channel.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIOutputChannel.RemoteAddressGets the destination of the service to which messages are sent out on the output channel.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIOutputChannel.Send(Message)Transmits a message to the destination of the output channel.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIOutputChannel.Send(Message, TimeSpan)Sends a message on the current output channel within a specified interval of time.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIOutputChannel.ViaGets the URI that contains the transport address to which messages are sent on the output channel.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIRequestChannel.BeginRequest(Message, AsyncCallback, Object)Begins an asynchronous operation to transmit a request message to the reply-side of a request-reply message exchange.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIRequestChannel.BeginRequest(Message, TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to transmit a request message to the reply-side of a request-reply message exchange within a specified interval of time.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIRequestChannel.EndRequestCompletes an asynchronous operation to return a message-based response to a transmitted request.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIRequestChannel.RemoteAddressGets the remote address to which the request channel sends messages.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIRequestChannel.Request(Message)Sends a message-based request and returns the correlated message-based response.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneIRequestChannel.Request(Message, TimeSpan)Sends a message-based request and returns the correlated message-based response within a specified interval of time.
Explicit interface implemetationPrivate propertySupported by Silverlight for Windows PhoneIRequestChannel.ViaGets the transport address to which the request is sent.
Top

If you need to call a service manually, that is, without the assistance of a generated proxy, use the ChannelFactory<TChannel> class instead of this class.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft