语言

InheritanceOption 枚举

定义

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

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

字段

名称 值 说明
Inherit 0

新上下文是从现有上下文创建的。 Inherit 是 Inheritance 的默认值。

Ignore 1

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

注解

InheritanceOption 用于值 Inheritance。

适用于