Поделиться через


CommandExceptionEventArgs Constructor

Initializes a new instance of the CommandExceptionEventArgs class.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    command As ICommand, _
    exception As Exception _
)
public CommandExceptionEventArgs(
    ICommand command,
    Exception exception
)
public:
CommandExceptionEventArgs(
    ICommand^ command, 
    Exception^ exception
)
new : 
        command:ICommand * 
        exception:Exception -> CommandExceptionEventArgs
public function CommandExceptionEventArgs(
    command : ICommand, 
    exception : Exception
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

command or exception is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

CommandExceptionEventArgs Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility