DialogStackException Constructors

Definition

Overloads

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

Initializes a new instance of the DialogStackException class with a specified error message.

DialogStackException(SerializationInfo, StreamingContext)

Source:
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

Applies to

DialogStackException(String, Exception)

Source:
Exceptions.cs

Initializes a new instance of the DialogStackException class with a specified error message.

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

The error message that explains the reason for the exception.

inner
Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to