Επεξεργασία

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


MessagePartSpecification.Union(MessagePartSpecification) Method

Definition

Merges two message part specifications.

public:
 void Union(System::ServiceModel::Security::MessagePartSpecification ^ specification);
public void Union (System.ServiceModel.Security.MessagePartSpecification specification);
member this.Union : System.ServiceModel.Security.MessagePartSpecification -> unit
Public Sub Union (specification As MessagePartSpecification)

Parameters

Exceptions

specification is null.

Remarks

After the Union method is called, the MessagePartSpecification holds all header information from both specifications, and the IsBodyIncluded property is set to the logical OR of both specifications.

Applies to