CancellationTokenModelBinder Class

 

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

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.CancellationTokenModelBinder

Syntax

public class CancellationTokenModelBinder : IModelBinder
public ref class CancellationTokenModelBinder : IModelBinder
type CancellationTokenModelBinder = 
    class
        interface IModelBinder
    end
Public Class CancellationTokenModelBinder
    Implements IModelBinder

Constructors

Name Description
System_CAPS_pubmethod CancellationTokenModelBinder()

Initializes a new instance of the CancellationTokenModelBinder class.

Methods

Name Description
System_CAPS_pubmethod BindModel(ControllerContext, ModelBindingContext)

Returns the default cancellation token.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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.Mvc Namespace

Return to top