Share via


UserResponse クラス

定義

Cosmos ユーザーの応答

public class UserResponse : Microsoft.Azure.Cosmos.Response<Microsoft.Azure.Cosmos.UserProperties>
type UserResponse = class
    inherit Response<UserProperties>
Public Class UserResponse
Inherits Response(Of UserProperties)
継承

コンストラクター

UserResponse()

UserResponseモック テスト用の no-op として を作成する

プロパティ

ActivityId

Azure Cosmos DB サービスからの要求のアクティビティ ID を取得します。

Diagnostics

Azure Cosmos DB サービスへの現在の要求の cosmos 診断情報を取得します

ETag

Azure Cosmos DB サービスから、リソースに関連付けられているエンティティ タグを取得します。

Headers

現在 ResponseMessage の HTTP ヘッダーを取得します。

RequestCharge

Azure Cosmos DB サービスからこの要求の要求料金を取得します。

Resource

応答の内容。

StatusCode

Azure Cosmos DB サービスから要求完了状態コードを取得します。 これは、CreateDatabaseIfNotExists などのシナリオで使用して、データベースが作成されたか、既に存在するかを判断するのに役立ちます。

User

Cosmos ユーザーへの参照。 これにより、ユーザーに対する追加の操作や、簡単なアクセス許可が可能になります

演算子

Implicit(UserResponse to User)

から暗黙的に取得するUserUserResponse

適用対象