CosmosException(String, Int32) Constructor
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.
Create a CosmosException
public CosmosException (string message, int statusCode);
new Azure.Cosmos.CosmosException : string * int -> Azure.Cosmos.CosmosException
Public Sub New (message As String, statusCode As Integer)
Parameters
- message
- String
The message associated with the exception.
- statusCode
- Int32
The status code associated with the exception.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET