InstanceContext::IncomingChannels Property

 

Gets the sessionful channels that are incoming to the service instance.

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

public:
property ICollection<IChannel^>^ IncomingChannels {
	ICollection<IChannel^>^ get();
}

Property Value

Type: System.Collections.Generic::ICollection<IChannel^>^

The ICollection<T> of type IChannel that contains the sessionful channels incoming to the service instance.

Exception Condition
ObjectDisposedException

The service instance is closed and cannot be used.

CommunicationObjectFaultedException

The service instance is in a faulted state.

The following code illustrates how to access the IncomingChannels property:

.NET Framework
Available since 3.0
Return to top
Show: