JsonFieldWithDefault Constructors
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.
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.