Table of contents
TOC
Collapse the table of content
Expand the table of content

Error handling

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

Error

FunctionDescription
Diagnostics.ActivityIdReturns an opaque identifier for the currently-running evaluation.
Diagnostics.TraceWrites a trace message, if tracing is enabled, and returns value.
Error.RecordReturns a record containing fields “Reason”, “Message”, and “Detail” set to the provided values. The record can be used to raise or throw an error.
TraceLevel.CriticalReturns 1, the value for Critical trace level.
TraceLevel.ErrorReturns 2, the value for Error trace level.
TraceLevel.InformationReturns 4, the value for Information trace level.
TraceLevel.VerboseReturns 5, the value for Verbose trace level.
TraceLevel.WarningReturns 3, the value for Warning trace level.
© 2018 Microsoft