Initializes a new instance of the WeakReferenceException class with a specified message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public WeakReferenceException( string message ); [C++] public: WeakReferenceException( String* message ); [JScript] public function WeakReferenceException( message : String );
WeakReferenceException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The message string. |
WeakReferenceException Class | WeakReferenceException Members | System Namespace | WeakReferenceException Constructor Overload List