Package com.ms.com Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class WrongThreadException

Constructors

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.


Constructors


WrongThreadException

public WrongThreadException();

Creates an instance of WrongThreadException.


WrongThreadException

public WrongThreadException(String s);

Creates an instance of WrongThreadException.

ParameterDescription
s The string passed to the new instance.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.