IotHubThrottledException Constructors
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.
Overloads
| Name | Description |
|---|---|
| IotHubThrottledException(Int32) |
Creates an instance of this class with the value of the maximum allowed count of active requests and marks it as non-transient. |
| IotHubThrottledException(String, Exception) |
Creates an instance of this class with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient. |
IotHubThrottledException(Int32)
Creates an instance of this class with the value of the maximum allowed count of active requests and marks it as non-transient.
public IotHubThrottledException(int maximumBatchCount);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubThrottledException : int -> Microsoft.Azure.Devices.Common.Exceptions.IotHubThrottledException
Public Sub New (maximumBatchCount As Integer)
Parameters
- maximumBatchCount
- Int32
The maximum allowed count of active requests.
Applies to
IotHubThrottledException(String, Exception)
Creates an instance of this class with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.
public IotHubThrottledException(string message, Exception innerException);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubThrottledException : string * Exception -> Microsoft.Azure.Devices.Common.Exceptions.IotHubThrottledException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception.