ClientBase<TChannel>::ChannelBase<T> Class

 

Represents the Generic ChannelBase class.

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

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

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

Type Parameters

T

The generic class.

NameDescription
System_CAPS_protmethodClientBase<TChannel>::ChannelBase<T>(ClientBase<T>^)

Initializes a new instance of the ClientBase<TChannel>::ChannelBase<T> class from an existing instance of the class.

NameDescription
System_CAPS_protmethodBeginInvoke(String^, array<Object^>^, AsyncCallback^, Object^)

Starts an asynchronous call of a specified method by name.

System_CAPS_protmethodEndInvoke(String^, array<Object^>^, IAsyncResult^)

Completes an asynchronous invocation by name of a specified method.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_priveventIClientChannel::UnknownMessageReceived

The event handler that is invoked when the ClientBase object receives an unknown message.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject::Closed

The event handler that is invoked when the ClientBase object has transitioned from its current state to the closed state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject::Closing

The event handler that is invoked when the ClientBase object transitions from its current state to the closed state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject::Faulted

The event handler that is invoked when fault occurs while performing an operation on the ClientBase object.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject::Opened

The event handler that is invoked when the ClientBase object has transitioned from the created state to the opened state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject::Opening

The event handler that is invoked when the ClientBase object transitions from the created state to the opened state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable::Dispose()

Performs application-defined tasks with freeing, releasing, or resetting unmanaged resources associated with the channel.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIChannel::GetProperty<TProperty>()

Returns a typed object requested, if present from the appropriate layer in the channel stack.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOutputChannel::BeginSend(Message^, AsyncCallback^, Object^)

Begins an asynchronous operation to transmit a message to the destination of the output channel.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOutputChannel::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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOutputChannel::EndSend(IAsyncResult^)

Completes an asynchronous operation to transmit a message to the destination of the output channel.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOutputChannel::Send(Message^)

Transmits a message to the destination of the output channel.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOutputChannel::Send(Message^, TimeSpan)

Sends a message on the current output channel within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRequestChannel::BeginRequest(Message^, AsyncCallback^, Object^)

Begins an asynchronous operation to transmit a request message to the reply-side of a request-reply message exchange.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRequestChannel::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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRequestChannel::EndRequest(IAsyncResult^)

Completes an asynchronous operation to return a message-based response to a transmitted request.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRequestChannel::Request(Message^)

Sends a message-based request and returns the correlated message-based response.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRequestChannel::Request(Message^, TimeSpan)

Sends a message-based request and returns the correlated message-based response within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIClientChannel::BeginDisplayInitializationUI(AsyncCallback^, Object^)

An asynchronous call to begin using a user interface to obtain credential information.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIClientChannel::DisplayInitializationUI()

Specifies a call to a user interface to obtain credential information.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIClientChannel::EndDisplayInitializationUI(IAsyncResult^)

Called when the call to BeginDisplayInitializationUI has finished.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::Abort()

Causes a communication object to transition immediately from its current state into the closed state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::BeginClose(AsyncCallback^, Object^)

Begins an asynchronous operation to close a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::BeginClose(TimeSpan, AsyncCallback^, Object^)

Begins an asynchronous operation to close a communication object with a specified time-out.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::BeginOpen(AsyncCallback^, Object^)

Begins an asynchronous operation to open a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::BeginOpen(TimeSpan, AsyncCallback^, Object^)

Begins an asynchronous operation to open a communication object within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::Close()

Causes a communication object to transition from its current state into the closed state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::Close(TimeSpan)

Causes a communication object to transition from its current state into the closed state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::EndClose(IAsyncResult^)

Completes an asynchronous operation to close a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::EndOpen(IAsyncResult^)

Completes an asynchronous operation to open a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::Open()

Causes a communication object to transition from the created state into the opened state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject::Open(TimeSpan)

Causes a communication object to transition from the created state into the opened state within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIOutputChannel::RemoteAddress

Gets the destination of the service to which messages are sent out on the output channel.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIOutputChannel::Via

Gets the URI that contains the transport address to which messages are sent on the output channel.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIRequestChannel::RemoteAddress

Gets the remote address to which the request channel sends messages.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIRequestChannel::Via

Gets the transport address to which the request is sent.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIClientChannel::AllowInitializationUI

Gets or sets a value that indicates whether the client channel allows an initialization UI.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIClientChannel::DidInteractiveInitialization

Gets a value that indicates whether a call was done to a user interface to obtain credential information.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIClientChannel::Via

Gets the URI that contains the transport address to which messages are sent on the client channel.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICommunicationObject::State

Gets the current state of the communication-oriented object.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::AllowOutputBatching

Gets or sets a value that indicates whether the batching of outgoing messages is allowed; otherwise, false.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::InputSession

Gets the input session for the channel.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::LocalAddress

Gets the local endpoint for the channel.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::OperationTimeout

Gets or sets the time period within which an operation must complete or an exception is thrown.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::OutputSession

Gets the output session associated with the channel, if any.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::RemoteAddress

Gets the remote address associated with the channel.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIContextChannel::SessionId

Gets an identifier for the current session, if any.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIExtensibleObject<IContextChannel^>::Extensions

Gets a collection of extension objects for this extensible object.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

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

Return to top
Show: