[This is preliminary documentation and is subject to change.]
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.2.0
Syntax
| C# |
|---|
public void Recycle() |
| Visual Basic (Declaration) |
|---|
Public Sub Recycle |
| Visual C++ |
|---|
public: void Recycle() |
| J# |
|---|
public void Recycle() |
| JScript |
|---|
public function Recycle() |
Remarks
This method cannot be overriden. Override RecycleInternal()()() instead which is called only when necessary.
Calling this method has no effect when State is Created and causes InvalidOperationException when State is Shown.
Show(Window, String) and DisplayTemplate(MessageBox, MessageBox, IWin32Window, String, String) instance methods call Recycle()()() if necessary.
When re-cycling message boxex, you should keep in mind that youre can change state of it (check boxes, radio buttons, combo boxes, custom controls)
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | State is Shown or State is not member of MessageBox..::.States |