OpenApiUnsupportedSpecVersionException 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
| Name | Description |
|---|---|
| OpenApiUnsupportedSpecVersionException(String) |
Initializes the OpenApiUnsupportedSpecVersionException class with a specification version. |
| OpenApiUnsupportedSpecVersionException(String, Exception) |
Initializes the OpenApiUnsupportedSpecVersionException class with a specification version and inner exception. |
OpenApiUnsupportedSpecVersionException(String)
Initializes the OpenApiUnsupportedSpecVersionException class with a specification version.
public OpenApiUnsupportedSpecVersionException(string specificationVersion);
new Microsoft.OpenApi.OpenApiUnsupportedSpecVersionException : string -> Microsoft.OpenApi.OpenApiUnsupportedSpecVersionException
Public Sub New (specificationVersion As String)
Parameters
- specificationVersion
- String
Version that caused this exception to be thrown.
Applies to
OpenApiUnsupportedSpecVersionException(String, Exception)
Initializes the OpenApiUnsupportedSpecVersionException class with a specification version and inner exception.
public OpenApiUnsupportedSpecVersionException(string specificationVersion, Exception innerException);
new Microsoft.OpenApi.OpenApiUnsupportedSpecVersionException : string * Exception -> Microsoft.OpenApi.OpenApiUnsupportedSpecVersionException
Public Sub New (specificationVersion As String, innerException As Exception)
Parameters
- specificationVersion
- String
Version that caused this exception to be thrown.
- innerException
- Exception
Inner exception that caused this exception to be thrown.