共用方式為


DiscoveredEvent(String, String) Constructor

Definition

Initializes a new instance of DiscoveredEvent.

public DiscoveredEvent(string name, string eventNotifier);
new Azure.ResourceManager.DeviceRegistry.Models.DiscoveredEvent : string * string -> Azure.ResourceManager.DeviceRegistry.Models.DiscoveredEvent
Public Sub New (name As String, eventNotifier As String)

Parameters

name
String

The name of the event.

eventNotifier
String

The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.

Exceptions

name or eventNotifier is null.

Applies to