ObjectDisposedException Constructor

ObjectDisposedException Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the ObjectDisposedException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ObjectDisposedException(String) Initializes a new instance of the ObjectDisposedException class with a string containing the name of the disposed object.
Public method ObjectDisposedException(String, Exception) Initializes a new instance of the ObjectDisposedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public method ObjectDisposedException(String, String) Initializes a new instance of the ObjectDisposedException class with the specified object name and message.
Top

Show:
© 2016 Microsoft