Microsoft SDK for Java

executeOnContext

This method of the ComLib Class marshals to the context bound to the supplied object and executes the run() method of the supplied object that implements Runnable.

Syntax

public static native void executeOnContext(Object objectWithContext, Runnable runnable);

Parameters

objectWithContext Object used to identify context to run on.
runnable Task to execute when in the appropriate context.

Remarks

This method was added as of versions 2437 through 2925 of the Microsoft virtual machine.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.