CommandDialog<T>.On<U> 메서드

정의

메시지의 정규식 일치에서 발생하는 처리기를 정의합니다.

public Microsoft.Bot.Builder.Dialogs.CommandDialog<T> On<U> (System.Text.RegularExpressions.Regex expression, Microsoft.Bot.Builder.Dialogs.ResumeAfter<Microsoft.Bot.Connector.IMessageActivity> handler, Microsoft.Bot.Builder.Dialogs.ResumeAfter<U> resultHandler = default);
member this.On : System.Text.RegularExpressions.Regex * Microsoft.Bot.Builder.Dialogs.ResumeAfter<Microsoft.Bot.Connector.IMessageActivity> * Microsoft.Bot.Builder.Dialogs.ResumeAfter<'U> -> Microsoft.Bot.Builder.Dialogs.CommandDialog<'T>
Public Function On(Of U) (expression As Regex, handler As ResumeAfter(Of IMessageActivity), Optional resultHandler As ResumeAfter(Of U) = Nothing) As CommandDialog(Of T)

형식 매개 변수

U

결과 처리기에 대한 입력 형식입니다.

매개 변수

expression
Regex

일치시킬 정규식입니다.

handler
ResumeAfter<IMessageActivity>

일치 항목에서 호출할 처리기입니다.

resultHandler
ResumeAfter<U>

처리기가 chaild 대화 상자를 만드는 경우 호출할 선택적 결과 처리기입니다.

반환

commandDialog입니다.

적용 대상