←Select platform

RunAsync(DocumentViewerAsyncOperation,string,object) Method

Summary

Runs a command that does not return a value asynchronously with the specified value.

Syntax
C#
C++/CLI
public void RunAsync( 
   DocumentViewerAsyncOperation operation, 
   string commandName, 
   object value 
) 
public:  
   void RunAsync( 
      DocumentViewerAsyncOperation^ operation, 
      String^ commandName, 
      Object^ value 
   ) 

Parameters

operation

Asynchronous operation data to use.

commandName

Command name

value

Optional value to pass to the callback

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.