CancellationTokenParameterBinding Class
Represents the binding directly to the cancellation token.
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpParameterBinding
System.Web.Http.ModelBinding.CancellationTokenParameterBinding
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class CancellationTokenParameterBinding _
Inherits HttpParameterBinding
'Usage
Dim instance As CancellationTokenParameterBinding
public class CancellationTokenParameterBinding : HttpParameterBinding
public ref class CancellationTokenParameterBinding : public HttpParameterBinding
type CancellationTokenParameterBinding =
class
inherit HttpParameterBinding
end
public class CancellationTokenParameterBinding extends HttpParameterBinding
The CancellationTokenParameterBinding type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CancellationTokenParameterBinding | Initializes a new instance of the CancellationTokenParameterBinding class. |
Top
Properties
Name | Description | |
---|---|---|
Descriptor | Gets the HttpParameterDescriptor that was used to initialize this instance. (Inherited from HttpParameterBinding.) | |
ErrorMessage | If the binding is invalid, gets an error message that describes the binding error. (Inherited from HttpParameterBinding.) | |
IsValid | Gets a value that indicates whether the binding was successful. (Inherited from HttpParameterBinding.) | |
WillReadBody | Returns a value indicating whether this HttpParameterBinding instance will read the entity body of the HTTP message. (Inherited from HttpParameterBinding.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
ExecuteBindingAsync | Executes the binding during synchronization. (Overrides HttpParameterBinding.ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValue | Gets the parameter value from argument dictionary of the action context. (Inherited from HttpParameterBinding.) | |
MemberwiseClone | (Inherited from Object.) | |
SetValue | Sets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.