ChannelDispatcherCollection.InsertItem(Int32, ChannelDispatcherBase) 메서드

정의

채널 디스패처를 컬렉션의 지정된 인덱스에 삽입합니다.

protected:
 override void InsertItem(int index, System::ServiceModel::Dispatcher::ChannelDispatcherBase ^ item);
protected override void InsertItem (int index, System.ServiceModel.Dispatcher.ChannelDispatcherBase item);
override this.InsertItem : int * System.ServiceModel.Dispatcher.ChannelDispatcherBase -> unit
Protected Overrides Sub InsertItem (index As Integer, item As ChannelDispatcherBase)

매개 변수

index
Int32

컬렉션에서 검색할 채널 디스패처의 0부터 시작하는 인덱스입니다.

item
ChannelDispatcherBase

컬렉션에 요소로 삽입할 채널 디스패처입니다.

예외

채널 디스패처 컬렉션에 연결된 서비스 호스트가 닫히는 경우

지정된 index가 0보다 작거나 컬렉션의 항목 수보다 큰 경우

통신 개체의 상태가 없는 경우

적용 대상