Share via


ServiceChannel Members

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Represents a communication channel to a Microsoft Dynamics CRM service.

The following tables list the members exposed by the ServiceChannel type.

Public Constructors

  Name Description
  ServiceChannel Initializes a new instance of the ServiceChannel class using a channel factory. For internal use only.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Channel Gets the WCF channel that is associated with the service channel.

Top

Protected Properties

  Name Description
protected property CommunicationObject Gets the communication object that is associated with the service channel.
protected property Factory Gets the channel factory associated with the service channel.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Abort Causes a service channel to transition immediately from its current state into the closing state.
public method Close Causes a service channel to transition from its current state into the closed state.
public method Dispose Disposes the service channel.
public method Equals  (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method Open Causes a service channel to transition from the created state into the opened state.
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method CreateChannel Creates a new WCF channel.
protected method Finalize Overridden. Finalizes the service channel.
protected method MemberwiseClone  (inherited from Object)
protected method OnChannelClosed Inserts processing on a service channel after it transitions to the closing state due to the invocation of a synchronous close operation.
protected method OnChannelFaulted Inserts processing on a service channel after it transitions to the faulted state due to the invocation of a synchronous operation.
protected method OnChannelOpened Inserts processing on a service channel after it transitions into the opening state which must complete within a specified interval of time.

Top

Public Events

  Name Description
public event ChannelClosed Occurs when a service channel transitions into the closed state.
public event ChannelFaulted Occurs when a service channel transitions into the faulted state.
public event ChannelOpened Occurs when a service channel transitions into the opened state.

Top

See Also

Reference

ServiceChannel Generic Class
Microsoft.Xrm.Sdk.Client Namespace

Other Resources

ChannelFactory(TChannel) Class

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.