DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb.DicomObjects.DicomWeb.Internal Namespace / SubscriptionController Class / ExecuteAsync Method






In This Topic
    ExecuteAsync Method (SubscriptionController)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overridable Function ExecuteAsync( _
       ByVal controllerContext As System.Web.Http.Controllers.HttpControllerContext, _
       ByVal cancellationToken As System.Threading.CancellationToken _
    ) As System.Threading.Tasks.Task(Of HttpResponseMessage)
    'Usage
     
    
    Dim instance As SubscriptionController
    Dim controllerContext As System.Web.Http.Controllers.HttpControllerContext
    Dim cancellationToken As System.Threading.CancellationToken
    Dim value As System.Threading.Tasks.Task(Of HttpResponseMessage)
     
    value = instance.ExecuteAsync(controllerContext, cancellationToken)
    public virtual System.Threading.Tasks.Task<HttpResponseMessage> ExecuteAsync( 
       System.Web.Http.Controllers.HttpControllerContext controllerContext,
       System.Threading.CancellationToken cancellationToken
    )
    public function ExecuteAsync( 
        controllerContext: System.Web.Http.Controllers.HttpControllerContext;
        cancellationToken: System.Threading.CancellationToken
    ): System.Threading.Tasks.Task; virtual; 
    public function ExecuteAsync( 
       controllerContext : System.Web.Http.Controllers.HttpControllerContext,
       cancellationToken : System.Threading.CancellationToken
    ) : System.Threading.Tasks.Task;
    public: virtual System.Threading.Tasks.Task<HttpResponseMessage*>* ExecuteAsync( 
       System.Web.Http.Controllers.HttpControllerContext* controllerContext,
       System.Threading.CancellationToken cancellationToken
    ) 
    public:
    virtual System.Threading.Tasks.Task<HttpResponseMessage^>^ ExecuteAsync( 
       System.Web.Http.Controllers.HttpControllerContext^ controllerContext,
       System.Threading.CancellationToken cancellationToken
    ) 

    Parameters

    controllerContext
    cancellationToken
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also