Επεξεργασία

Κοινή χρήση μέσω


ScopedMessagePartSpecification.AddParts Method

Definition

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 MessagePartSpecification that corresponds to the specified action.

AddParts(MessagePartSpecification)

Source:
ScopedMessagePartSpecification.cs
Source:
ScopedMessagePartSpecification.cs

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.

Applies to

AddParts(MessagePartSpecification, String)

Source:
ScopedMessagePartSpecification.cs
Source:
ScopedMessagePartSpecification.cs

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.

Applies to