SQL Server · Types · Procedures and functions

ArxDatabaseMessage

Definition

Namespace
ARX.SDK.Services
Package
ARX.SDK
C#
public sealed class ArxDatabaseMessage

A message a routine sent while it ran (PostgreSQL RAISE NOTICE, SQL Server PRINT, MySQL warnings), in the order sent.

Constructor

  • ArxDatabaseMessage(string severity, string sqlState, string text, string? detail, string? hint)

    A message, as the provider reads it from the database.

    Parameter Type Description
    severitystringNOTICE, WARNING, INFO, LOG or DEBUG.
    sqlStatestringThe message's SQLSTATE code.
    textstringThe message text.
    detailstring?Its detail, or null.
    hintstring?Its hint, or null.

Properties

  • string Severity { get; }

    NOTICE, WARNING, INFO, LOG or DEBUG.

  • string SqlState { get; }

    The message's SQLSTATE code (00000 for a plain notice).

  • string Text { get; }

    The message text.

  • string? Detail { get; }

    The message's detail, when the routine gave one.

  • string? Hint { get; }

    The message's hint, when the routine gave one.