ChannelDispatcherCollection.InsertItem(Int32, ChannelDispatcherBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a channel dispatcher into the collection at a specified index.
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)
Parameters
- index
- Int32
The zero-based index of the channel dispatcher to be retrieved from the collection.
The channel dispatcher to be inserted into the collection as an element.
Exceptions
The service host associated with the channel dispatcher collection is closed.
The index
specified is less than zero or greater than the number of items in the collection.
The commutation object is not in a state
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för