次の方法で共有


IMongoDB.GetCollectionAsync(String, CancellationToken) メソッド

定義

public System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.IMongoCollection> GetCollectionAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCollectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.IMongoCollection>
Public Function GetCollectionAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IMongoCollection)

パラメーター

name
String

Mongo コレクションの名前。

cancellationToken
CancellationToken

戻り値

特定の Mongo コレクション。

適用対象