GitHubModelFactory.RepositoryDispatchEvent Method
Definition
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.
Creates a new instance of RepositoryDispatchEvent(String, Nullable<JsonElement>).
public static Azure.Connectors.Sdk.GitHub.Models.RepositoryDispatchEvent RepositoryDispatchEvent(string eventName = default, System.Text.Json.JsonElement? eventPayload = default);
static member RepositoryDispatchEvent : string * Nullable<System.Text.Json.JsonElement> -> Azure.Connectors.Sdk.GitHub.Models.RepositoryDispatchEvent
Public Shared Function RepositoryDispatchEvent (Optional eventName As String = Nothing, Optional eventPayload As Nullable(Of JsonElement) = Nothing) As RepositoryDispatchEvent
Parameters
- eventName
- String
- eventPayload
- Nullable<JsonElement>