/// <summary> /// Initializes a new instance of the /// DeviceConnectionStateEventProperties 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: - : . + % _ &#35; * ? ! ( ) , = @ ; $ /// '.</param> /// <param name="moduleId">The unique identifier of the module. This /// case-sensitive string can be up to 128 characters long, and /// supports ASCII 7-bit alphanumeric characters plus the following /// special characters: - : . + % _ &#35; * ? ! ( ) , = @ ; $ /// '.</param> /// <param name="hubName">Name of the IoT Hub where the device was /// created or deleted.</param> /// <param name="deviceConnectionStateEventInfo">Information about the /// device connection state event.</param> public DeviceConnectionStateEventProperties(string deviceId = default(string), string moduleId = default(string), string hubName = default(string), DeviceConnectionStateEventInfo deviceConnectionStateEventInfo = default(DeviceConnectionStateEventInfo)) { DeviceId = deviceId; ModuleId = moduleId; HubName = hubName; DeviceConnectionStateEventInfo = deviceConnectionStateEventInfo; CustomInit(); }
/// <summary> /// Initializes a new instance of the IotHubDeviceDisconnectedEventData /// 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: - : . + % _ &#35; * ? ! ( ) , = @ ; $ /// '.</param> /// <param name="moduleId">The unique identifier of the module. This /// case-sensitive string can be up to 128 characters long, and /// supports ASCII 7-bit alphanumeric characters plus the following /// special characters: - : . + % _ &#35; * ? ! ( ) , = @ ; $ /// '.</param> /// <param name="hubName">Name of the IoT Hub where the device was /// created or deleted.</param> /// <param name="deviceConnectionStateEventInfo">Information about the /// device connection state event.</param> public IotHubDeviceDisconnectedEventData(string deviceId = default(string), string moduleId = default(string), string hubName = default(string), DeviceConnectionStateEventInfo deviceConnectionStateEventInfo = default(DeviceConnectionStateEventInfo)) : base(deviceId, moduleId, hubName, deviceConnectionStateEventInfo) { CustomInit(); }