Share via


InstanceContext.OutgoingChannels プロパティ

定義

サービス インスタンスから発信するセッションフル チャネルを取得します。

public:
 property System::Collections::Generic::ICollection<System::ServiceModel::Channels::IChannel ^> ^ OutgoingChannels { System::Collections::Generic::ICollection<System::ServiceModel::Channels::IChannel ^> ^ get(); };
public System.Collections.Generic.ICollection<System.ServiceModel.Channels.IChannel> OutgoingChannels { get; }
member this.OutgoingChannels : System.Collections.Generic.ICollection<System.ServiceModel.Channels.IChannel>
Public ReadOnly Property OutgoingChannels As ICollection(Of IChannel)

プロパティ値

ICollection<IChannel>

サービス インスタンスから発信するセッションフル チャネルを格納する ICollection<T> 型の IChannel

例外

サービス インスタンスは閉じられているので、使用できません。

サービス インスタンスが違反状態にあります。

次のコード例は、OutgoingChannels プロパティのアクセス方法を示しています。

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

適用対象