Język

SkillConversationIdFactoryBase.CreateSkillConversationIdAsync Metoda

Definicja

Przeciążenia

Nazwa Opis
CreateSkillConversationIdAsync(SkillConversationIdFactoryOptions, CancellationToken)

Tworzy identyfikator rozmowy dla rozmowy o umiejętnościach.

CreateSkillConversationIdAsync(ConversationReference, CancellationToken)
Przestarzałe.

Tworzy identyfikator rozmowy dla rozmowy o umiejętnościach na podstawie rozmowy ConversationReferencerozmówcy.

CreateSkillConversationIdAsync(SkillConversationIdFactoryOptions, CancellationToken)

Tworzy identyfikator rozmowy dla rozmowy o umiejętnościach.

public virtual System.Threading.Tasks.Task<string> CreateSkillConversationIdAsync(Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryOptions options, System.Threading.CancellationToken cancellationToken);
abstract member CreateSkillConversationIdAsync : Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.CreateSkillConversationIdAsync : Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function CreateSkillConversationIdAsync (options As SkillConversationIdFactoryOptions, cancellationToken As CancellationToken) As Task(Of String)

Parametry

options
SkillConversationIdFactoryOptions

Instancja zawierająca SkillConversationIdFactoryOptions parametry do tworzenia identyfikatora rozmowy.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Unikalny identyfikator konwersacji używany do komunikacji z umiejętnością.

Uwagi

Powinno być możliwe użycie zwróconego ciągu na URL żądania i nie powinno zawierać znaków specjalnych.

Dotyczy

CreateSkillConversationIdAsync(ConversationReference, CancellationToken)

Uwaga

Method is deprecated, please use CreateSkillConversationIdAsync() with SkillConversationIdFactoryOptions instead.

Tworzy identyfikator rozmowy dla rozmowy o umiejętnościach na podstawie rozmowy ConversationReferencerozmówcy.

[System.Obsolete("Method is deprecated, please use CreateSkillConversationIdAsync() with SkillConversationIdFactoryOptions instead.", false)]
public virtual System.Threading.Tasks.Task<string> CreateSkillConversationIdAsync(Microsoft.Bot.Schema.ConversationReference conversationReference, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Method is deprecated, please use CreateSkillConversationIdAsync() with SkillConversationIdFactoryOptions instead.", false)>]
abstract member CreateSkillConversationIdAsync : Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.CreateSkillConversationIdAsync : Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function CreateSkillConversationIdAsync (conversationReference As ConversationReference, cancellationToken As CancellationToken) As Task(Of String)

Parametry

conversationReference
ConversationReference

Osoba wywołująca ConversationReferenceumiejętność.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Unikalny identyfikator konwersacji używany do komunikacji z umiejętnością.

Atrybuty

Uwagi

Powinno być możliwe użycie zwróconego ciągu na URL żądania i nie powinno zawierać znaków specjalnych.

Dotyczy