ErrorParameterBinding Constructor
Initializes a new instance of the ErrorParameterBinding class.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
descriptor As HttpParameterDescriptor, _
message As String _
)
'Usage
Dim descriptor As HttpParameterDescriptor
Dim message As String
Dim instance As New ErrorParameterBinding(descriptor, _
message)
public ErrorParameterBinding(
HttpParameterDescriptor descriptor,
string message
)
public:
ErrorParameterBinding(
HttpParameterDescriptor^ descriptor,
String^ message
)
new :
descriptor:HttpParameterDescriptor *
message:string -> ErrorParameterBinding
public function ErrorParameterBinding(
descriptor : HttpParameterDescriptor,
message : String
)
Parameters
descriptor
Type: System.Web.Http.Controllers.HttpParameterDescriptorThe error descriptor.
message
Type: System.StringThe message.