Context.AllocateDataSlot 方法

定义

分配未命名的数据槽。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static LocalDataStoreSlot ^ AllocateDataSlot();
public static LocalDataStoreSlot AllocateDataSlot();
[System.Security.SecurityCritical]
public static LocalDataStoreSlot AllocateDataSlot();
static member AllocateDataSlot : unit -> LocalDataStoreSlot
[<System.Security.SecurityCritical>]
static member AllocateDataSlot : unit -> LocalDataStoreSlot
Public Shared Function AllocateDataSlot () As LocalDataStoreSlot

返回

本地数据槽。

属性

注解

槽在所有上下文上分配。

适用于