แก้ไข

แชร์ผ่าน


MessageContractAttribute.WrapperName Property

Definition

Gets or sets the name of the wrapper element of the message body.

public:
 property System::String ^ WrapperName { System::String ^ get(); void set(System::String ^ value); };
public string WrapperName { get; set; }
member this.WrapperName : string with get, set
Public Property WrapperName As String

Property Value

The name of the wrapper element in the message body.

Exceptions

The value is null.

The value is an empty string.

Remarks

Use the WrapperName property to set the name of the wrapper element.

Applies to