HelpPageConfigurationExtensions.SetActualRequestType Method

Specifies the actual type of ObjectContent<T> passed to the HttpRequestMessage in an action. The help page will use this information to produce more accurate request samples.

Name Description
SetActualRequestType(this HttpConfiguration, Type, string, string) Specifies the actual type of ObjectContent<T> passed to the HttpRequestMessage in an action. The help page will use this information to produce more accurate request samples.
SetActualRequestType(this HttpConfiguration, Type, string, string, params string[]) Specifies the actual type of ObjectContent<T> passed to the HttpRequestMessage in an action. The help page will use this information to produce more accurate request samples.

In this article

Definition