Share via


PromptException Constructors

Definition

Overloads

PromptException(String)

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

PromptException(SerializationInfo, StreamingContext)

PromptException(String)

Source:
Exceptions.cs

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

public PromptException (string message);
new Microsoft.Bot.Builder.Dialogs.PromptException : string -> Microsoft.Bot.Builder.Dialogs.PromptException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

PromptException(SerializationInfo, StreamingContext)

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

Parameters

Applies to