OpenApiError 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
OpenApiError(OpenApiException) |
Initializes the OpenApiError class using the message and pointer from the given exception. |
OpenApiError(OpenApiError) |
Initializes a copy of an OpenApiError object |
OpenApiError(String, String) |
Initializes the OpenApiError class. |
OpenApiError(OpenApiException)
Initializes the OpenApiError class using the message and pointer from the given exception.
public OpenApiError (Microsoft.OpenApi.Exceptions.OpenApiException exception);
new Microsoft.OpenApi.Models.OpenApiError : Microsoft.OpenApi.Exceptions.OpenApiException -> Microsoft.OpenApi.Models.OpenApiError
Public Sub New (exception As OpenApiException)
Parameters
- exception
- OpenApiException
Applies to
OpenApiError(OpenApiError)
Initializes a copy of an OpenApiError object
public OpenApiError (Microsoft.OpenApi.Models.OpenApiError error);
new Microsoft.OpenApi.Models.OpenApiError : Microsoft.OpenApi.Models.OpenApiError -> Microsoft.OpenApi.Models.OpenApiError
Public Sub New (error As OpenApiError)
Parameters
- error
- OpenApiError
Applies to
OpenApiError(String, String)
Initializes the OpenApiError class.
public OpenApiError (string pointer, string message);
new Microsoft.OpenApi.Models.OpenApiError : string * string -> Microsoft.OpenApi.Models.OpenApiError
Public Sub New (pointer As String, message As String)
Parameters
- pointer
- String
- message
- String