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.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET