Share via


ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior Method

Enables the WCF data services client behavior.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub EnableWcfDataServicesClientBehavior ( _
    startEntryXmlCustomizationCallback As Func(Of ODataEntry, XmlWriter, XmlWriter), _
    endEntryXmlCustomizationCallback As Action(Of ODataEntry, XmlWriter, XmlWriter), _
    odataNamespace As String, _
    typeScheme As String _
)
'Usage
Dim instance As ODataMessageWriterSettings 
Dim startEntryXmlCustomizationCallback As Func(Of ODataEntry, XmlWriter, XmlWriter)
Dim endEntryXmlCustomizationCallback As Action(Of ODataEntry, XmlWriter, XmlWriter)
Dim odataNamespace As String 
Dim typeScheme As String

instance.EnableWcfDataServicesClientBehavior(startEntryXmlCustomizationCallback, _
    endEntryXmlCustomizationCallback, _
    odataNamespace, typeScheme)
public void EnableWcfDataServicesClientBehavior(
    Func<ODataEntry, XmlWriter, XmlWriter> startEntryXmlCustomizationCallback,
    Action<ODataEntry, XmlWriter, XmlWriter> endEntryXmlCustomizationCallback,
    string odataNamespace,
    string typeScheme
)
public:
void EnableWcfDataServicesClientBehavior(
    Func<ODataEntry^, XmlWriter^, XmlWriter^>^ startEntryXmlCustomizationCallback, 
    Action<ODataEntry^, XmlWriter^, XmlWriter^>^ endEntryXmlCustomizationCallback, 
    String^ odataNamespace, 
    String^ typeScheme
)
member EnableWcfDataServicesClientBehavior : 
        startEntryXmlCustomizationCallback:Func<ODataEntry, XmlWriter, XmlWriter> * 
        endEntryXmlCustomizationCallback:Action<ODataEntry, XmlWriter, XmlWriter> * 
        odataNamespace:string * 
        typeScheme:string -> unit
public function EnableWcfDataServicesClientBehavior(
    startEntryXmlCustomizationCallback : Func<ODataEntry, XmlWriter, XmlWriter>, 
    endEntryXmlCustomizationCallback : Action<ODataEntry, XmlWriter, XmlWriter>, 
    odataNamespace : String, 
    typeScheme : String
)

Parameters

See Also

Reference

ODataMessageWriterSettings Class

Microsoft.Data.OData Namespace