note
VeloxDB is still in beta and APIs are subject to change. We are in the process of completing the documentation, so some sections may be incomplete or empty at this time.
Class DbAPIOperationErrorAttribute
Specifies that the method throws an exception.
Inheritance
System.Object
DbAPIOperationErrorAttribute
Namespace: VeloxDB.Protocol
Assembly: vlxc.dll
Syntax
public sealed class DbAPIOperationErrorAttribute : Attribute
Remarks
Apply the DbAPIOperationErrorAttribute to type to indicate to VeloxDB protocol that method can throw an exception of specified type. These exceptions are then propagated to the client. Exceptions that are not specified using this attribute are propagated as DbAPIUnknownErrorException.
Constructors
DbAPIOperationErrorAttribute(Type)
Specifies that methot can throw an exception.
Declaration
public DbAPIOperationErrorAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of the exception that can be thrown. |
Properties
Type
The type of the exception that can be thrown.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
System.Type |