Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InstanceContext.OutgoingChannels Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the sessionful channels that are outgoing from the service instance.

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

public ICollection<IChannel> OutgoingChannels { get; }

Property Value

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

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

Exception Condition

The service instance is closed and cannot be used.


The service instance is in a faulted state.

The following code illustrates how to access the OutgoingChannels property:

OperationContext operationContext = OperationContext.Current;
InstanceContext instanceContext = operationContext.InstanceContext;
ICollection<IChannel> OutgoingChannels = instanceContext.OutgoingChannels;

.NET Framework
Available since 3.0
Return to top
© 2018 Microsoft