Share via


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)

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