你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CacheIdentity 构造函数

定义

重载

CacheIdentity()

初始化 CacheIdentity 类的新实例。

CacheIdentity(String, String, Nullable<CacheIdentityType>)

初始化 CacheIdentity 类的新实例。

CacheIdentity()

初始化 CacheIdentity 类的新实例。

public CacheIdentity ();
Public Sub New ()

适用于

CacheIdentity(String, String, Nullable<CacheIdentityType>)

初始化 CacheIdentity 类的新实例。

public CacheIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.StorageCache.Models.CacheIdentityType? type = default);
new Microsoft.Azure.Management.StorageCache.Models.CacheIdentity : string * string * Nullable<Microsoft.Azure.Management.StorageCache.Models.CacheIdentityType> -> Microsoft.Azure.Management.StorageCache.Models.CacheIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of CacheIdentityType) = Nothing)

参数

principalId
String

缓存的主体 ID。

tenantId
String

与缓存关联的租户 ID。

type
Nullable<CacheIdentityType>

用于缓存的标识类型。 可能的值包括:“SystemAssigned”、“None”

适用于