語言

Recognizer(String, Int32) 建構函式

定義

初始化一個新的類別實例 Recognizer 以識別使用者輸入。

public Recognizer(string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Recognizer : string * int -> Microsoft.Bot.Builder.Dialogs.Recognizer
Public Sub New (Optional callerPath As String = "", Optional callerLine As Integer = 0)

參數

callerPath
String

呼叫者的原始檔案路徑。

callerLine
Int32

呼叫該方法的來源檔案中的行號。

適用於