CancellationTokenModelBinder Class

Provides a mechanism to propagates notification that model binder operations should be canceled.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.CancellationTokenModelBinder

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Class CancellationTokenModelBinder _
    Implements IModelBinder
'Usage
Dim instance As CancellationTokenModelBinder
public class CancellationTokenModelBinder : IModelBinder
public ref class CancellationTokenModelBinder : IModelBinder
type CancellationTokenModelBinder =  
    class 
        interface IModelBinder 
    end
public class CancellationTokenModelBinder implements IModelBinder

The CancellationTokenModelBinder type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method BindModel Returns the default cancellation token.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.

See Also

Reference

System.Web.Mvc Namespace