←Select platform

RunAsync(DocumentViewerAsyncOperation,string,object) Method

Summary

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

Syntax

C#
VB
C++
public void RunAsync( 
   DocumentViewerAsyncOperation operation, 
   string commandName, 
   object value 
) 
Public Sub RunAsync( 
   ByVal operation As DocumentViewerAsyncOperation, 
   ByVal commandName As String, 
   ByVal value As Object 
) 
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 works by using the thread pool to queue Run(commandName, value), then invoking Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end on either case.

Refer to Document Viewer Commands for more information.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly