共用方式為


JsonFieldWithDefault Constructors

Definition

Overloads

JsonFieldWithDefault()

Initializes a new instance of the JsonFieldWithDefault class.

JsonFieldWithDefault(String, String)

Initializes a new instance of the JsonFieldWithDefault class.

JsonFieldWithDefault()

Initializes a new instance of the JsonFieldWithDefault class.

public JsonFieldWithDefault ();
Public Sub New ()

Applies to

JsonFieldWithDefault(String, String)

Initializes a new instance of the JsonFieldWithDefault class.

public JsonFieldWithDefault (string sourceField = default, string defaultValue = default);
new Microsoft.Azure.Management.EventGrid.Models.JsonFieldWithDefault : string * string -> Microsoft.Azure.Management.EventGrid.Models.JsonFieldWithDefault
Public Sub New (Optional sourceField As String = Nothing, Optional defaultValue As String = Nothing)

Parameters

sourceField
String

Name of a field in the input event schema that's to be used as the source of a mapping.

defaultValue
String

The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.

Applies to