ScopedMessagePartSpecification.AddParts 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.
Adds message parts to the collections in the instance of this class.
Overloads
AddParts(MessagePartSpecification) |
Adds channel message parts to the collections in the instance of this class. |
AddParts(MessagePartSpecification, String) |
Adds message parts to the |
AddParts(MessagePartSpecification)
Adds channel message parts to the collections in the instance of this class.
public:
void AddParts(System::ServiceModel::Security::MessagePartSpecification ^ parts);
public void AddParts (System.ServiceModel.Security.MessagePartSpecification parts);
member this.AddParts : System.ServiceModel.Security.MessagePartSpecification -> unit
Public Sub AddParts (parts As MessagePartSpecification)
Parameters
- parts
- MessagePartSpecification
The MessagePartSpecification that contains the parts to be added.
Exceptions
parts
is null
.
The MessagePartSpecification is read-only.
Applies to
AddParts(MessagePartSpecification, String)
Adds message parts to the MessagePartSpecification
that corresponds to the specified action.
public:
void AddParts(System::ServiceModel::Security::MessagePartSpecification ^ parts, System::String ^ action);
public void AddParts (System.ServiceModel.Security.MessagePartSpecification parts, string action);
member this.AddParts : System.ServiceModel.Security.MessagePartSpecification * string -> unit
Public Sub AddParts (parts As MessagePartSpecification, action As String)
Parameters
- parts
- MessagePartSpecification
The MessagePartSpecification that contains the parts to be added.
- action
- String
The action key to match to.
Exceptions
parts
or action
is null
.
The MessagePartSpecification is read-only.