HelpPageConfigurationExtensions..::..SetActualResponseType Method (HttpConfiguration, Type, String, 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.HelpPage
Assembly:  JiwaWebAPI (in JiwaWebAPI.dll)

Syntax


public static void SetActualResponseType(
	HttpConfiguration config,
	Type type,
	string controllerName,
	string actionName
)
Public Shared Sub SetActualResponseType ( _
	config As HttpConfiguration, _
	type As Type, _
	controllerName As String, _
	actionName As String _
)
public:
static void SetActualResponseType(
	HttpConfiguration^ config, 
	Type^ type, 
	String^ controllerName, 
	String^ actionName
)

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.