Sdílet prostřednictvím


EventGridExtensions.TryGetSystemEventData(CloudEvent, Object) Method

Definition

Gets whether or not the event is a System defined event and returns the deserialized system event data via out parameter.

public static bool TryGetSystemEventData (this Azure.Messaging.CloudEvent cloudEvent, out object eventData);
static member TryGetSystemEventData : Azure.Messaging.CloudEvent * obj -> bool
<Extension()>
Public Function TryGetSystemEventData (cloudEvent As CloudEvent, ByRef eventData As Object) As Boolean

Parameters

cloudEvent
CloudEvent
eventData
Object

If the event is a system event, this will be populated with the deserialized system event data. Otherwise, this will be null.

Returns

Whether or not the event is a system event.

Applies to