EventNameFilter Class
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.
Filter events by their name.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventNameFilterTypeConverter))]
public class EventNameFilter : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IEventNameFilter, Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventNameFilterTypeConverter))>]
type EventNameFilter = class
interface IEventNameFilter
interface IJsonSerializable
interface IEventListenerFilter
interface IValidates
Public Class EventNameFilter
Implements IEventNameFilter, IValidates
- Inheritance
-
EventNameFilter
- Attributes
- Implements
Constructors
EventNameFilter() |
Creates an new EventNameFilter instance. |
Properties
SystemEvent |
Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. |
Type | |
UserEventPattern |
Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported:
|
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of EventNameFilter. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of EventNameFilter. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IEventNameFilter. |
FromJsonString(String) |
Creates a new instance of EventNameFilter, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of EventNameFilter into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |