Partager via


Context Class

Definition

The context info

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.ContextTypeConverter))]
public class Context : Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IContext
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.ContextTypeConverter))>]
type Context = class
    interface IContext
    interface IJsonSerializable
Public Class Context
Implements IContext
Inheritance
Context
Attributes
Implements

Constructors

Name Description
Context()

Creates an new Context instance.

Properties

Name Description
NotificationSource

The source of the notification request

Type

The context id type

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Context.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Context.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IContext.

FromJsonString(String)

Creates a new instance of Context, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Context into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to