TemplateException(String, IList<Diagnostic>) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 TemplateException 類別的新執行個體。
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))
參數
- message
- String
錯誤訊息。
- diagnostics
- IList<Diagnostic>
要擲回的診斷清單。