Delen via


DialogStackException Constructors

Definitie

Overloads

DialogStackException(SerializationInfo, StreamingContext)
DialogStackException(String, Exception)

Initialiseert een nieuw exemplaar van de klasse DialogStackException met een opgegeven foutbericht.

DialogStackException(SerializationInfo, StreamingContext)

Bron:
Exceptions.cs
protected DialogStackException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Bot.Builder.Dialogs.DialogStackException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Bot.Builder.Dialogs.DialogStackException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Van toepassing op

DialogStackException(String, Exception)

Bron:
Exceptions.cs

Initialiseert een nieuw exemplaar van de klasse DialogStackException met een opgegeven foutbericht.

public DialogStackException(string message, Exception inner);
new Microsoft.Bot.Builder.Dialogs.DialogStackException : string * Exception -> Microsoft.Bot.Builder.Dialogs.DialogStackException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

Het foutbericht met de reden voor de uitzondering.

inner
Exception

De uitzondering die de oorzaak is van de huidige uitzondering of een null-verwijzing (Niets in Visual Basic) als er geen interne uitzondering is opgegeven.

Van toepassing op