IVsDataHostService.BeginInvokeOnUIThread(Delegate, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously executes a specified method on the main (UI) thread running in the Visual Studio process, with the specified list of arguments.
public:
IAsyncResult ^ BeginInvokeOnUIThread(Delegate ^ method, ... cli::array <System::Object ^> ^ args);
public IAsyncResult BeginInvokeOnUIThread (Delegate method, params object[] args);
abstract member BeginInvokeOnUIThread : Delegate * obj[] -> IAsyncResult
Public Function BeginInvokeOnUIThread (method As Delegate, ParamArray args As Object()) As IAsyncResult
Parameters
- method
- Delegate
A delegate to a method that takes parameters of the same number and type that are contained in the args
parameter.
- args
- Object[]
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
Returns
An IAsyncResult instance that represents the result of this operation.