ArmDeviceRegistryModelFactory.AssetStatusError Method
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.
Initializes a new instance of AssetStatusError.
public static Azure.ResourceManager.DeviceRegistry.Models.AssetStatusError AssetStatusError (int? code = default, string message = default);
static member AssetStatusError : Nullable<int> * string -> Azure.ResourceManager.DeviceRegistry.Models.AssetStatusError
Public Shared Function AssetStatusError (Optional code As Nullable(Of Integer) = Nothing, Optional message As String = Nothing) As AssetStatusError
Parameters
- message
- String
Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).
Returns
A new AssetStatusError instance for mocking.