InheritanceOption 枚举

定义

指示基于当前上下文或基于 ServiceConfig 中的信息创建新的上下文。

C#
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum InheritanceOption
继承
InheritanceOption
属性

字段

名称 说明
Ignore 1

新上下文从默认上下文创建。

Inherit 0

新上下文从现有上下文创建。 InheritInheritance 的默认值。

注解

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