IExceptionSummaryProvider.Describe(Exception, String) Metod

Definition

Innehåller indexet för beskrivningen av undantaget tillsammans med valfria ytterligare data.

public:
 int Describe(Exception ^ exception, [Runtime::InteropServices::Out] System::String ^ % additionalDetails);
public int Describe(Exception exception, out string? additionalDetails);
abstract member Describe : Exception * string -> int
Public Function Describe (exception As Exception, ByRef additionalDetails As String) As Integer

Parametrar

exception
Exception

Undantaget.

additionalDetails
String

Ytterligare information om det angivna undantaget, om det finns några. Den här strängen bör helst inte innehålla någon sekretesskänslig information.

Returer

Indexet för beskrivningen.

Kommentarer

Den här metoden ska bara anropas med ett undantag som är typkompatibelt med en typ som beskrivs av SupportedExceptionTypes.

Gäller för