←Select platform

RunAsync(DocumentViewerAsyncOperation,string) Method

Summary

Runs a command that does not return a value asynchronously.

Syntax
C#
VB
C++
public void RunAsync( 
   DocumentViewerAsyncOperation operation, 
   string commandName 
) 
Public Sub RunAsync( 
   ByVal operation As DocumentViewerAsyncOperation, 
   ByVal commandName As String 
) 
public:  
   void RunAsync( 
      DocumentViewerAsyncOperation^ operation, 
      String^ commandName 
   ) 

Parameters

operation

Asynchronous operation data to use.

commandName

Command name

Remarks

This method uses the thread pool to queue Run(commandName, value), then invokes Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end of either case.

Refer to Document Viewer Commands for more information.

Requirements
Target Platforms
Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly