InheritanceOption 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示基于当前上下文或基于 ServiceConfig 中的信息创建新的上下文。
public enum class InheritanceOption
C#
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum InheritanceOption
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type InheritanceOption =
Public Enum InheritanceOption
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
Ignore | 1 | 新上下文从默认上下文创建。 |
Inherit | 0 | 新上下文从现有上下文创建。 Inherit 是 Inheritance 的默认值。 |
InheritanceOption 用于 的值 Inheritance。
产品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |