다음을 통해 공유


OAuthClientConfig.SendEmulateOAuthCardsAsync(OAuthClient, Boolean) 메서드

정의

실제 토큰을 가져오지 않고 테스트를 위해 에뮬레이터에서 봇을 사용할 때 더미 OAuth 카드를 보냅니다.

public static System.Threading.Tasks.Task SendEmulateOAuthCardsAsync(Microsoft.Bot.Connector.OAuthClient client, bool emulateOAuthCards);
static member SendEmulateOAuthCardsAsync : Microsoft.Bot.Connector.OAuthClient * bool -> System.Threading.Tasks.Task
Public Shared Function SendEmulateOAuthCardsAsync (client As OAuthClient, emulateOAuthCards As Boolean) As Task

매개 변수

client
OAuthClient

코드(200/403/500/등)

emulateOAuthCards
Boolean

에뮬레이터가 OAuth 카드를 에뮬레이트해야 하는지 여부를 나타냅니다.

반환

실행할 큐에 대기 중인 작업을 나타내는 작업입니다.

적용 대상