コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the DeviceLifeCycleEventProperties
 /// class.
 /// </summary>
 /// <param name="deviceId">The unique identifier of the device. This
 /// case-sensitive string can be up to 128 characters long, and
 /// supports ASCII 7-bit alphanumeric characters plus the following
 /// special characters: - : . + % _ &amp;#35; * ? ! ( ) , = @ ; $
 /// '.</param>
 /// <param name="hubName">Name of the IoT Hub where the device was
 /// created or deleted.</param>
 /// <param name="twin">Information about the device twin, which is the
 /// cloud representation of application device metadata.</param>
 public DeviceLifeCycleEventProperties(string deviceId = default(string), string hubName = default(string), DeviceTwinInfo twin = default(DeviceTwinInfo))
 {
     DeviceId = deviceId;
     HubName  = hubName;
     Twin     = twin;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the IotHubDeviceDeletedEventData
 /// class.
 /// </summary>
 /// <param name="deviceId">The unique identifier of the device. This
 /// case-sensitive string can be up to 128 characters long, and
 /// supports ASCII 7-bit alphanumeric characters plus the following
 /// special characters: - : . + % _ &amp;#35; * ? ! ( ) , = @ ; $
 /// '.</param>
 /// <param name="hubName">Name of the IoT Hub where the device was
 /// created or deleted.</param>
 /// <param name="twin">Information about the device twin, which is the
 /// cloud representation of application device metadata.</param>
 public IotHubDeviceDeletedEventData(string deviceId = default(string), string hubName = default(string), DeviceTwinInfo twin = default(DeviceTwinInfo))
     : base(deviceId, hubName, twin)
 {
     CustomInit();
 }