Condividi tramite


Action Constructors

Definition

Overloads

Action()

Initializes a new instance of the Action class.

Action(Event, ActionInfo)

Initializes a new instance of the Action class from an instance of ActionInfo.

Action(Event, String)

Initializes a new instance of the Action class with the given parent and name. The name here should be in form of eventModuleId.packagename.eventname or packagename.eventname.

Action()

Initializes a new instance of the Action class.

public Action ();
Public Sub New ()

Applies to

Action(Event, ActionInfo)

Initializes a new instance of the Action class from an instance of ActionInfo.

public Action (Microsoft.SqlServer.Management.XEvent.Event parent, Microsoft.SqlServer.Management.XEvent.ActionInfo actionInfo);
new Microsoft.SqlServer.Management.XEvent.Action : Microsoft.SqlServer.Management.XEvent.Event * Microsoft.SqlServer.Management.XEvent.ActionInfo -> Microsoft.SqlServer.Management.XEvent.Action
Public Sub New (parent As Event, actionInfo As ActionInfo)

Parameters

parent
Event

The parent.

actionInfo
ActionInfo

The ActionInfo object.

Applies to

Action(Event, String)

Initializes a new instance of the Action class with the given parent and name. The name here should be in form of eventModuleId.packagename.eventname or packagename.eventname.

public Action (Microsoft.SqlServer.Management.XEvent.Event parent, string name);
new Microsoft.SqlServer.Management.XEvent.Action : Microsoft.SqlServer.Management.XEvent.Event * string -> Microsoft.SqlServer.Management.XEvent.Action
Public Sub New (parent As Event, name As String)

Parameters

parent
Event

The parent.

name
String

The name.

Exceptions

The event name is malformed or wrong.

Parameter name is null.

The parent(or grandparent) of Event is not set yet.

Applies to