Export (0) Print
Expand All

ClientBase<TChannel>.ChannelBase<T> Class

Represents the Generic ChannelBase class.

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

Namespace:  System.ServiceModel
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

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

Type Parameters

T

The generic class.

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

  NameDescription
Protected methodSupported by Portable Class LibraryClientBase<TChannel>.ChannelBase<T>Initializes a new instance of the ClientBase<TChannel>.ChannelBase<T> class from an existing instance of the class.
Top

  NameDescription
Protected methodSupported by Portable Class LibraryBeginInvokeStarts an asynchronous call of a specified method by name.
Protected methodSupported by Portable Class LibraryEndInvokeCompletes an asynchronous invocation by name of a specified method.
Public methodSupported by Portable Class LibraryEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported by Portable Class LibraryFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Portable Class LibraryGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Portable Class LibraryMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Portable Class LibraryToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIChannel.GetProperty<TProperty>Returns a typed object requested, if present from the appropriate layer in the channel stack.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIClientChannel.AllowInitializationUIGets or sets a value that indicates whether the client channel allows an initialization UI.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIClientChannel.BeginDisplayInitializationUIAn asynchronous call to begin using a user interface to obtain credential information.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIClientChannel.DidInteractiveInitializationGets a value that indicates whether a call was done to a user interface to obtain credential information.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIClientChannel.DisplayInitializationUISpecifies a call to a user interface to obtain credential information.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIClientChannel.EndDisplayInitializationUICalled when the call to BeginDisplayInitializationUI has finished.
Explicit interface implemetationPrivate eventSupported by Portable Class LibraryIClientChannel.UnknownMessageReceivedThe event handler that is invoked when the ClientBase object receives an unknown message.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIClientChannel.ViaGets the URI that contains the transport address to which messages are sent on the client channel.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.AbortCauses a communication object to transition immediately from its current state into the closed state.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.BeginClose(AsyncCallback, Object)Begins an asynchronous operation to close a communication object.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to close a communication object with a specified time-out.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.BeginOpen(AsyncCallback, Object)Begins an asynchronous operation to open a communication object.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to open a communication object within a specified interval of time.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.Close()Causes a communication object to transition from its current state into the closed state.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.Close(TimeSpan)Causes a communication object to transition from its current state into the closed state.
Explicit interface implemetationPrivate eventSupported by Portable Class LibraryICommunicationObject.ClosedThe event handler that is invoked when the ClientBase object has transitioned from its current state to the closed state.
Explicit interface implemetationPrivate eventSupported by Portable Class LibraryICommunicationObject.ClosingThe event handler that is invoked when the ClientBase object transitions from its current state to the closed state.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.EndCloseCompletes an asynchronous operation to close a communication object.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.EndOpenCompletes an asynchronous operation to open a communication object.
Explicit interface implemetationPrivate eventSupported by Portable Class LibraryICommunicationObject.FaultedThe event handler that is invoked when fault occurs while performing an operation on the ClientBase object.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.Open()Causes a communication object to transition from the created state into the opened state.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryICommunicationObject.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 eventSupported by Portable Class LibraryICommunicationObject.OpenedThe event handler that is invoked when the ClientBase object has transitioned from the created state to the opened state.
Explicit interface implemetationPrivate eventSupported by Portable Class LibraryICommunicationObject.OpeningThe event handler that is invoked when the ClientBase object transitions from the created state to the opened state.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryICommunicationObject.StateGets the current state of the communication-oriented object.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.AllowOutputBatchingGets or sets a value that indicates whether the batching of outgoing messages is allowed; otherwise, false.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.InputSessionGets the input session for the channel.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.LocalAddressGets the local endpoint for the channel.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.OperationTimeoutGets or sets the time period within which an operation must complete or an exception is thrown.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.OutputSessionGets the output session associated with the channel, if any.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.RemoteAddressGets the remote address associated with the channel.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIContextChannel.SessionIdGets an identifier for the current session, if any.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIDisposable.DisposePerforms application-defined tasks with freeing, releasing, or resetting unmanaged resources associated with the channel.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIExtensibleObject<IContextChannel>.ExtensionsGets a collection of extension objects for this extensible object.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIOutputChannel.BeginSend(Message, AsyncCallback, Object)Begins an asynchronous operation to transmit a message to the destination of the output channel.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIOutputChannel.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 Portable Class LibraryIOutputChannel.EndSendCompletes an asynchronous operation to transmit a message to the destination of the output channel.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIOutputChannel.RemoteAddressGets the destination of the service to which messages are sent out on the output channel.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIOutputChannel.Send(Message)Transmits a message to the destination of the output channel.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIOutputChannel.Send(Message, TimeSpan)Sends a message on the current output channel within a specified interval of time.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIOutputChannel.ViaGets the URI that contains the transport address to which messages are sent on the output channel.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIRequestChannel.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 Portable Class LibraryIRequestChannel.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 Portable Class LibraryIRequestChannel.EndRequestCompletes an asynchronous operation to return a message-based response to a transmitted request.
Explicit interface implemetationPrivate propertySupported by Portable Class LibraryIRequestChannel.RemoteAddressGets the remote address to which the request channel sends messages.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIRequestChannel.Request(Message)Sends a message-based request and returns the correlated message-based response.
Explicit interface implemetationPrivate methodSupported by Portable Class LibraryIRequestChannel.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 Portable Class LibraryIRequestChannel.ViaGets the transport address to which the request is sent.
Top

.NET Framework

Supported in: 4.6, 4.5

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft