Share via


Threads Class

Definition

A collection of thread operations under /threads.

public class Threads
type Threads = class
Public Class Threads
Inheritance
Threads

Constructors

Threads()

Initializes a new instance of Threads for mocking.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

CreateThread(IEnumerable<ThreadMessageOptions>, ToolResources, IReadOnlyDictionary<String,String>, CancellationToken)

Creates a new thread. Threads contain messages and can be run by agents.

CreateThread(RequestContent, RequestContext)

[Protocol Method] Creates a new thread. Threads contain messages and can be run by agents.

CreateThreadAsync(IEnumerable<ThreadMessageOptions>, ToolResources, IReadOnlyDictionary<String,String>, CancellationToken)

Creates a new thread. Threads contain messages and can be run by agents.

CreateThreadAsync(RequestContent, RequestContext)

[Protocol Method] Creates a new thread. Threads contain messages and can be run by agents.

DeleteThread(String, CancellationToken)

Deletes a thread.

DeleteThreadAsync(String, CancellationToken)

Deletes a thread.

GetThread(String, CancellationToken)

Gets information about an existing thread.

GetThread(String, RequestContext)

[Protocol Method] Gets information about an existing thread.

GetThreadAsync(String, CancellationToken)

Gets information about an existing thread.

GetThreadAsync(String, RequestContext)

[Protocol Method] Gets information about an existing thread.

GetThreads(Nullable<Int32>, Nullable<ListSortOrder>, String, String, CancellationToken)

Gets a list of threads that were previously created.

GetThreadsAsync(Nullable<Int32>, Nullable<ListSortOrder>, String, String, CancellationToken)

Gets a list of threads that were previously created.

UpdateThread(String, RequestContent, RequestContext)

[Protocol Method] Modifies an existing thread.

UpdateThread(String, ToolResources, IReadOnlyDictionary<String,String>, CancellationToken)

Modifies an existing thread.

UpdateThreadAsync(String, RequestContent, RequestContext)

[Protocol Method] Modifies an existing thread.

UpdateThreadAsync(String, ToolResources, IReadOnlyDictionary<String,String>, CancellationToken)

Modifies an existing thread.

Applies to