HttpConfigurationExtensions.SetETagHandler Method (HttpConfiguration, IETagHandler)
Sets the IETagHandler on the configuration.
Namespace: System.Web.Http.OData.Extensions
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public static void SetETagHandler(
this HttpConfiguration configuration,
IETagHandler handler
)
public:
[ExtensionAttribute]
static void SetETagHandler(
HttpConfiguration^ configuration,
IETagHandler^ handler
)
static member SetETagHandler :
configuration:HttpConfiguration *
handler:IETagHandler -> unit
<ExtensionAttribute>
Public Shared Sub SetETagHandler (
configuration As HttpConfiguration,
handler As IETagHandler
)
Parameters
configuration
Type: System.Web.Http.HttpConfigurationThe server configuration.
handler
Type: System.Web.Http.OData.Formatter.IETagHandlerThe IETagHandler for the configuration.
See Also
HttpConfigurationExtensions Class
System.Web.Http.OData.Extensions Namespace
Return to top