SPWcfServiceSettings.MessageEncoding Property

Gets or sets the message encoding that is used by the WCF service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property MessageEncoding As Nullable(Of WSMessageEncoding)
    Get
    Set
'Usage
Dim instance As SPWcfServiceSettings
Dim value As Nullable(Of WSMessageEncoding)

value = instance.MessageEncoding

instance.MessageEncoding = value
public Nullable<WSMessageEncoding> MessageEncoding { get; set; }

Property Value

Type: System.Nullable<WSMessageEncoding>
An object that encapsulates the message encoding, if any is specified; otherwise, a null reference (Nothing in Visual Basic).

See Also

Reference

SPWcfServiceSettings Class

SPWcfServiceSettings Members

Microsoft.SharePoint.Administration Namespace