WSFederationMessage.Encoding Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the wencoding parameter of the message.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public string Encoding { get; set; }

Property Value

Type: System.String

The value of the wencoding parameter.

Specifies the encoding style to be used for any XML embedded in the message. The wencoding parameter is optional. Set the Encoding property to null or an empty string to remove the wencoding parameter from the message.

.NET Framework
Available since 4.5
Return to top
Show: