[This is preliminary documentation and is subject to change.]

Initializes a new instance of the RespondsToAttributeRespondsToAttributeRespondsToAttribute class.

Namespace: Simple.WebSimple.WebSimple::Web
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public RespondsToAttribute(

params string[] contentTypes

)

VB

Public Sub New( _

ParamArray contentTypes As String() _

)

C++

public:

RespondsToAttribute(

... array<String^>^ contentTypes

)

Parameters

contentTypes
Type: System.String[]System.String()array<System::String^>
The types which the handler accepts.

See Also

RespondsToAttributeRespondsToAttributeRespondsToAttribute Class
Simple.WebSimple.WebSimple::Web Namespace