Share via


OpenApiUnsupportedSpecVersionException Constructors

Definition

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)

Source:
OpenApiUnsupportedSpecVersionException.cs

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)

Source:
OpenApiUnsupportedSpecVersionException.cs

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.

Applies to