Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MessageContractAttribute.WrapperName Property

Definition

Namespace:
System.ServiceModel
Assemblies:
System.ServiceModel.dll, System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.dll
Package:
System.ServiceModel.Primitives v10.0.652802
Source:
MessageContractAttribute.cs
Source:
MessageContractAttribute.cs
Source:
MessageContractAttribute.cs

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.

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


Feedback

Was this page helpful?