ArmCosmosDBModelFactory.CosmosDBErrorResult(String, String) 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 CosmosDBErrorResult.
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBErrorResult CosmosDBErrorResult (string code = default, string message = default);
static member CosmosDBErrorResult : string * string -> Azure.ResourceManager.CosmosDB.Models.CosmosDBErrorResult
Public Shared Function CosmosDBErrorResult (Optional code As String = Nothing, Optional message As String = Nothing) As CosmosDBErrorResult
Parameters
- code
- String
Error code.
- message
- String
Error message indicating why the operation failed.
Returns
A new CosmosDBErrorResult instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET