Share via


VectorStoreException Constructors

Definition

Overloads

VectorStoreException()

Initializes a new instance of the VectorStoreException class.

VectorStoreException(String)

Initializes a new instance of the VectorStoreException class with a specified error message.

VectorStoreException(String, Exception)

Initializes a new instance of the VectorStoreException class with a specified error message and a reference to the inner exception that's the cause of this exception.

VectorStoreException()

Initializes a new instance of the VectorStoreException class.

public:
 VectorStoreException();
public VectorStoreException();
Public Sub New ()

Applies to

VectorStoreException(String)

Initializes a new instance of the VectorStoreException class with a specified error message.

public:
 VectorStoreException(System::String ^ message);
public VectorStoreException(string? message);
new Microsoft.Extensions.VectorData.VectorStoreException : string -> Microsoft.Extensions.VectorData.VectorStoreException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

VectorStoreException(String, Exception)

Initializes a new instance of the VectorStoreException class with a specified error message and a reference to the inner exception that's the cause of this exception.

public:
 VectorStoreException(System::String ^ message, Exception ^ innerException);
public VectorStoreException(string? message, Exception? innerException);
new Microsoft.Extensions.VectorData.VectorStoreException : string * Exception -> Microsoft.Extensions.VectorData.VectorStoreException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that's the cause of the current exception, or a null reference if no inner exception is specified.

Applies to