Package com.ms.com |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
public class WrongThreadException extends RuntimeException { // Constructors public WrongThreadException(); public WrongThreadException(String s); }
The WrongThreadException class indicates that a method call could not be made because it was called on the wrong thread. Typically, this happens because the operation would invoke an Apartment Model Component Object Module (COM) object on the wrong thread.
public WrongThreadException();Creates an instance of WrongThreadException.
public WrongThreadException(String s);Creates an instance of WrongThreadException.
Parameter Description s The string passed to the new instance.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.