Share via


TasksPerformedEventArgs Constructors

Definition

Initializes a new instance of the TasksPerformedEventArgs class.

Overloads

TasksPerformedEventArgs()

Initializes a new instance of the TasksPerformedEventArgs class with the default property values.

TasksPerformedEventArgs(Boolean)

Initializes a new instance of the TasksPerformedEventArgs class with a value to determine if the object contains a script.

TasksPerformedEventArgs(Exception)

Initializes a new instance of the TasksPerformedEventArgs class with the specified error.

TasksPerformedEventArgs(Exception, Boolean)

Initializes a new instance of the TasksPerformedEventArgs class with the specified error and with a value to determine if the object contains a script.

TasksPerformedEventArgs()

Initializes a new instance of the TasksPerformedEventArgs class with the default property values.

public:
 TasksPerformedEventArgs();
public TasksPerformedEventArgs ();
Public Sub New ()

Applies to

TasksPerformedEventArgs(Boolean)

Initializes a new instance of the TasksPerformedEventArgs class with a value to determine if the object contains a script.

public:
 TasksPerformedEventArgs(bool isScript);
public TasksPerformedEventArgs (bool isScript);
new Microsoft.SqlServer.Management.TaskForms.TasksPerformedEventArgs : bool -> Microsoft.SqlServer.Management.TaskForms.TasksPerformedEventArgs
Public Sub New (isScript As Boolean)

Parameters

isScript
Boolean

A Boolean value that indicates whether the object contains a script.

Applies to

TasksPerformedEventArgs(Exception)

Initializes a new instance of the TasksPerformedEventArgs class with the specified error.

public:
 TasksPerformedEventArgs(Exception ^ ex);
public TasksPerformedEventArgs (Exception ex);
new Microsoft.SqlServer.Management.TaskForms.TasksPerformedEventArgs : Exception -> Microsoft.SqlServer.Management.TaskForms.TasksPerformedEventArgs
Public Sub New (ex As Exception)

Parameters

ex
Exception

Represents errors that occur during application execution.

Applies to

TasksPerformedEventArgs(Exception, Boolean)

Initializes a new instance of the TasksPerformedEventArgs class with the specified error and with a value to determine if the object contains a script.

public:
 TasksPerformedEventArgs(Exception ^ ex, bool isScript);
public TasksPerformedEventArgs (Exception ex, bool isScript);
new Microsoft.SqlServer.Management.TaskForms.TasksPerformedEventArgs : Exception * bool -> Microsoft.SqlServer.Management.TaskForms.TasksPerformedEventArgs
Public Sub New (ex As Exception, isScript As Boolean)

Parameters

ex
Exception

Represents errors that occur during application execution.

isScript
Boolean

A Boolean value that indicates whether the object contains a script.

Applies to