Export (0) Print
Expand All

CancellationTokenParameterBinding Class

Represents the binding directly to the cancellation token.

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)

public ref class CancellationTokenParameterBinding : public HttpParameterBinding

The CancellationTokenParameterBinding type exposes the following members.

  NameDescription
Public methodCancellationTokenParameterBindingInitializes a new instance of the CancellationTokenParameterBinding class.
Top

  NameDescription
Public propertyDescriptorGets the HttpParameterDescriptor that was used to initialize this instance. (Inherited from HttpParameterBinding.)
Public propertyErrorMessageIf the binding is invalid, gets an error message that describes the binding error. (Inherited from HttpParameterBinding.)
Public propertyIsValidGets a value that indicates whether the binding was successful. (Inherited from HttpParameterBinding.)
Public propertyWillReadBodyReturns a value indicating whether this HttpParameterBinding instance will read the entity body of the HTTP message. (Inherited from HttpParameterBinding.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExecuteBindingAsyncExecutes the binding during synchronization. (Overrides HttpParameterBinding::ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodGetValue Gets the parameter value from argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetValueSets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft