PartitionOption 枚举

定义

指示要在其中运行 COM+ 分区的上下文。Indicates the context in which to run the COM+ partition.

public enum class PartitionOption
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum PartitionOption
type PartitionOption = 
Public Enum PartitionOption
继承
PartitionOption
属性

字段

Ignore 0

包含的上下文运行于“全局分区”中。The enclosed context runs in the Global Partition. Ignore 设置为 PartitionOption 时,InheritanceIgnore 的默认设置。Ignore is the default setting for PartitionOption when Inheritance is set to Ignore.

Inherit 1

包含的上下文运行于当前的包含 COM+ 分区中。The enclosed context runs in the current containing COM+ partition. PartitionOption 设置为 Inheritance 时,此为 Inherit 的默认设置。This is the default setting for PartitionOption when Inheritance is set to Inherit.

New 2

包含的上下文运行于与当前包含分区不同的 COM+ 分区中。The enclosed context runs in a COM+ partition that is different from the current containing partition.

注解

有关分区的信息, 请参阅 MSDN Library 中的平台 SDK 文档中的 COM + (组件服务) 部分中的 "COM + 分区" 部分。For information on partitions, see "COM+ Partitions" in the COM+ (Component Services) section in the Platform SDK documentation in the MSDN Library.

适用于