OperationDescriptionCollection.SetItem(Int32, OperationDescription) 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.
Replaces the operation description element in the collection at the specified index.
protected:
override void SetItem(int index, System::ServiceModel::Description::OperationDescription ^ item);
protected override void SetItem (int index, System.ServiceModel.Description.OperationDescription item);
override this.SetItem : int * System.ServiceModel.Description.OperationDescription -> unit
Protected Overrides Sub SetItem (index As Integer, item As OperationDescription)
Parameters
- index
- Int32
The zero-based index at which item
should be inserted.
- item
- OperationDescription
The OperationDescription to set.
Exceptions
item
is null
.
Remarks
This method is provided for the Windows Communication Foundation (WCF) system to do input validation and is not expected to be called by users.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.