Keysight Pathwave 89600 VSA .NET API
BuildExceptionMessage Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > RemotableObject Class : BuildExceptionMessage Method


prefix
A string to appear in front of the information for this exception.
exception
The exception from which to extract the message.

Glossary Item Box

Build an error message string from the supplied System.Exception object, including information from inner exception(s) and System.TypeLoadExceptions.

Syntax

Visual Basic (Declaration) 
Public Shared Function BuildExceptionMessage( _
   ByVal prefix As String, _
   ByVal exception As Exception _
) As String
C# 
public static string BuildExceptionMessage( 
   string prefix,
   Exception exception
)
C++/CLI 
public:
static String^ BuildExceptionMessage( 
   String^ prefix,
   Exception^ exception
) 

Parameters

prefix
A string to appear in front of the information for this exception.
exception
The exception from which to extract the message.

Return Value

A string containing the compound error information for the supplied exception.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also