CancellationTokenParameterBinding Class

Represents the binding directly to the cancellation token.

Inheritance Hierarchy


Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)


Public Class CancellationTokenParameterBinding _
    Inherits HttpParameterBinding
Dim instance As CancellationTokenParameterBinding
public class CancellationTokenParameterBinding : HttpParameterBinding
public ref class CancellationTokenParameterBinding : public HttpParameterBinding
type CancellationTokenParameterBinding =  
        inherit HttpParameterBinding 
public class CancellationTokenParameterBinding extends HttpParameterBinding

The CancellationTokenParameterBinding type exposes the following members.


  Name Description
Public method CancellationTokenParameterBinding Initializes a new instance of the CancellationTokenParameterBinding class.



  Name Description
Public property Descriptor Gets the HttpParameterDescriptor that was used to initialize this instance. (Inherited from HttpParameterBinding.)
Public property ErrorMessage If the binding is invalid, gets an error message that describes the binding error. (Inherited from HttpParameterBinding.)
Public property IsValid Gets a value that indicates whether the binding was successful. (Inherited from HttpParameterBinding.)
Public property WillReadBody Returns a value indicating whether this HttpParameterBinding instance will read the entity body of the HTTP message. (Inherited from HttpParameterBinding.)



  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteBindingAsync Executes the binding during synchronization. (Overrides HttpParameterBinding.ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method GetValue Gets the parameter value from argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetValue Sets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Public method ToString (Inherited from Object.)


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.

See Also


System.Web.Http.ModelBinding Namespace