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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應