| Visual Basic (Declaration) | |
|---|---|
Sub Reject() | |
| C# | |
|---|---|
void Reject() | |
| Exception | Description |
|---|---|
| System.ObjectDisposedException | The method is called after Commit, Reject or System.IDisposable.Dispose. |
This method can be used to reject the layout actions that have been made.
Reject must leave the ILayoutActions instance in an unusable (disposed) state. Therefore, this method must produce an System.ObjectDisposedException if it is called after Commit, Reject or System.IDisposable.Dispose.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2