EventGridEventExtensions.TryCreatePushNotification Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to create the PushNotification object from the details in EventGridEvent object. Return value indicates whether the operation succeeded or failed.
public static bool TryCreatePushNotification(this Azure.Messaging.EventGrid.EventGridEvent eventGridEvent, out Microsoft.Extensions.Configuration.AzureAppConfiguration.PushNotification pushNotification);
static member TryCreatePushNotification : Azure.Messaging.EventGrid.EventGridEvent * PushNotification -> bool
<Extension()>
Public Function TryCreatePushNotification (eventGridEvent As EventGridEvent, ByRef pushNotification As PushNotification) As Boolean
- eventGridEvent
- EventGridEvent
EventGridEvent from EventGrid
- pushNotification
- PushNotification
If this method returns true, the pushNotification object contains details populated from eventGridEvent. If this method returns false, the pushNotification object is null.
Product | Versions |
---|---|
Azure SDK for .NET | Latest, Preview |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: