你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IJsonFieldWithDefault Interface
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonFieldWithDefaultTypeConverter))]
public interface IJsonFieldWithDefault : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonFieldWithDefaultTypeConverter))>]
type IJsonFieldWithDefault = interface
interface IJsonSerializable
Public Interface IJsonFieldWithDefault
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
DefaultValue |
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. |
SourceField |
Name of a field in the input event schema that's to be used as the source of a mapping. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |