Share via


TemplateException(String, IList<Diagnostic>) Constructor

Definition

Initializes a new instance of the TemplateException class.

public TemplateException (string message, System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Diagnostic> diagnostics);
new Microsoft.Bot.Builder.LanguageGeneration.TemplateException : string * System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Diagnostic> -> Microsoft.Bot.Builder.LanguageGeneration.TemplateException
Public Sub New (message As String, diagnostics As IList(Of Diagnostic))

Parameters

message
String

Error message.

diagnostics
IList<Diagnostic>

List of diagnostics to throw.

Applies to