ServiceChannel<TChannel> Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents a communication channel to a Microsoft Dynamics 365 service.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)] public class ServiceChannel<TChannel> : IDisposable where TChannel : class
Type Parameters
- TChannel
Type: IOutputChannel or IRequestChannel. The type of channel produced by a channel factory.
| Name | Description | |
|---|---|---|
![]() | ServiceChannel<TChannel>(ChannelFactory<TChannel>) | Initializes a new instance of the ServiceChannel<TChannel> class using a channel factory. For internal use only. |
| Name | Description | |
|---|---|---|
![]() | Channel | Gets the WCF channel that is associated with the service channel. |
![]() | CommunicationObject | Gets the communication object that is associated with the service channel. |
![]() | Factory | Gets the channel factory associated with the service channel. |
| Name | Description | |
|---|---|---|
![]() | Abort() | Causes a service channel to transition immediately from its current state into the closing state. |
![]() | Close() | Causes a service channel to transition from its current state into the closed state. |
![]() | CreateChannel() | Creates a new WCF channel. |
![]() | Dispose() | Disposes the service channel. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | Finalizes the service channel.(Overrides Object.Finalize().) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnChannelClosed(ChannelEventArgs) | Inserts processing on a service channel after it transitions to the closing state due to the invocation of a synchronous close operation. |
![]() | OnChannelFaulted(ChannelFaultedEventArgs) | Inserts processing on a service channel after it transitions to the faulted state due to the invocation of a synchronous operation. |
![]() | OnChannelOpened(ChannelEventArgs) | Inserts processing on a service channel after it transitions into the opening state which must complete within a specified interval of time. |
![]() | Open() | Causes a service channel to transition from the created state into the opened state. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | ChannelClosed | Occurs when a service channel transitions into the closed state. |
![]() | ChannelFaulted | Occurs when a service channel transitions into the faulted state. |
![]() | ChannelOpened | Occurs when a service channel transitions into the opened state. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright




