ResponseTypeAttribute Constructor (Type)
Initializes a new instance of the ResponseTypeAttribute class.
Namespace: System.Web.Http.Description
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public ResponseTypeAttribute(
Type responseType
)
public:
ResponseTypeAttribute(
Type^ responseType
)
new :
responseType:Type -> ResponseTypeAttribute
Public Sub New (
responseType As Type
)
Parameters
responseType
Type: System.TypeThe response type.
See Also
ResponseTypeAttribute Class
System.Web.Http.Description Namespace
Return to top