HelpPageConfigurationExtensions..::..SetActualResponseType Method (HttpConfiguration, Type, String, String, array<String>[]()[][])
Specifies the actual type of ObjectContent returned as part of the HttpRequestMessage in an action.
The help page will use this information to produce more accurate response samples.
Namespace:
JiwaWebAPI.Areas.HelpPageAssembly: JiwaWebAPI (in JiwaWebAPI.dll)
Syntax
public static void SetActualResponseType( HttpConfiguration config, Type type, string controllerName, string actionName, params string[] parameterNames )
Public Shared Sub SetActualResponseType ( _ config As HttpConfiguration, _ type As Type, _ controllerName As String, _ actionName As String, _ ParamArray parameterNames As String() _ )
public: static void SetActualResponseType( HttpConfiguration^ config, Type^ type, String^ controllerName, String^ actionName, ... array<String^>^ parameterNames )
Parameters
- config
- Type: HttpConfiguration
The HttpConfiguration.
- type
- Type: Type
The type.
- controllerName
- Type: String
Name of the controller.
- actionName
- Type: String
Name of the action.
- parameterNames
- Type: array<String>[]()[][]
The parameter names.