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