Construtor EventField (Event, EventColumnInfo)
Creates a new instance of the EventField class from an Event object and an EventColumnInfo object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Sub New ( _
parent As Event, _
eventColumnInfo As EventColumnInfo _
)
'Uso
Dim parent As Event
Dim eventColumnInfo As EventColumnInfo
Dim instance As New EventField(parent, _
eventColumnInfo)
public EventField(
Event parent,
EventColumnInfo eventColumnInfo
)
public:
EventField(
Event^ parent,
EventColumnInfo^ eventColumnInfo
)
new :
parent:Event *
eventColumnInfo:EventColumnInfo -> EventField
public function EventField(
parent : Event,
eventColumnInfo : EventColumnInfo
)
Parâmetros
- parent
Tipo: Microsoft.SqlServer.Management.XEvent.Event
The parent Event object.
- eventColumnInfo
Tipo: Microsoft.SqlServer.Management.XEvent.EventColumnInfo
An EventColumnInfo object.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | Parameter parent Event or EventColumnInfo is null. |
XEventException | Parameter EventColumnInfo is invalid. |
NullReferenceException | The EventColumnInfo parent (or grandparent) is null, usually because it is not enumerated correctly. |