Share via


ODataMessageReaderSettings.EnableWcfDataServicesClientBehavior Method (Func<IEdmType, String, IEdmType>, String, String, Func<ODataEntry, XmlReader, Uri, XmlReader>, Func<IEdmEntityType, Boolean>)

Note: This API is now obsolete.

Enables the WCF data services client behavior.

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

Syntax

'Declaration
<ObsoleteAttribute("The 'shouldQualifyOperations' parameter is no longer needed and will be removed. Use the overload which does not take it.")> _
Public Sub EnableWcfDataServicesClientBehavior ( _
    typeResolver As Func(Of IEdmType, String, IEdmType), _
    odataNamespace As String, _
    typeScheme As String, _
    entryXmlCustomizationCallback As Func(Of ODataEntry, XmlReader, Uri, XmlReader), _
    shouldQualifyOperations As Func(Of IEdmEntityType, Boolean) _
)
'Usage
Dim instance As ODataMessageReaderSettings 
Dim typeResolver As Func(Of IEdmType, String, IEdmType)
Dim odataNamespace As String 
Dim typeScheme As String 
Dim entryXmlCustomizationCallback As Func(Of ODataEntry, XmlReader, Uri, XmlReader)
Dim shouldQualifyOperations As Func(Of IEdmEntityType, Boolean)

instance.EnableWcfDataServicesClientBehavior(typeResolver, _
    odataNamespace, typeScheme, entryXmlCustomizationCallback, _
    shouldQualifyOperations)
[ObsoleteAttribute("The 'shouldQualifyOperations' parameter is no longer needed and will be removed. Use the overload which does not take it.")]
public void EnableWcfDataServicesClientBehavior(
    Func<IEdmType, string, IEdmType> typeResolver,
    string odataNamespace,
    string typeScheme,
    Func<ODataEntry, XmlReader, Uri, XmlReader> entryXmlCustomizationCallback,
    Func<IEdmEntityType, bool> shouldQualifyOperations
)
[ObsoleteAttribute(L"The 'shouldQualifyOperations' parameter is no longer needed and will be removed. Use the overload which does not take it.")]
public:
void EnableWcfDataServicesClientBehavior(
    Func<IEdmType^, String^, IEdmType^>^ typeResolver, 
    String^ odataNamespace, 
    String^ typeScheme, 
    Func<ODataEntry^, XmlReader^, Uri^, XmlReader^>^ entryXmlCustomizationCallback, 
    Func<IEdmEntityType^, bool>^ shouldQualifyOperations
)
[<ObsoleteAttribute("The 'shouldQualifyOperations' parameter is no longer needed and will be removed. Use the overload which does not take it.")>]
member EnableWcfDataServicesClientBehavior : 
        typeResolver:Func<IEdmType, string, IEdmType> * 
        odataNamespace:string * 
        typeScheme:string * 
        entryXmlCustomizationCallback:Func<ODataEntry, XmlReader, Uri, XmlReader> * 
        shouldQualifyOperations:Func<IEdmEntityType, bool> -> unit
public function EnableWcfDataServicesClientBehavior(
    typeResolver : Func<IEdmType, String, IEdmType>, 
    odataNamespace : String, 
    typeScheme : String, 
    entryXmlCustomizationCallback : Func<ODataEntry, XmlReader, Uri, XmlReader>, 
    shouldQualifyOperations : Func<IEdmEntityType, boolean>
)

Parameters

See Also

Reference

ODataMessageReaderSettings Class

EnableWcfDataServicesClientBehavior Overload

Microsoft.Data.OData Namespace