InheritanceOption 枚举

定义

指示基于当前上下文或基于 ServiceConfig 中的信息创建新的上下文。Indicates whether to create a new context based on the current context or on the information in ServiceConfig.

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

字段

Ignore 1

新上下文从默认上下文创建。The new context is created from the default context.

Inherit 0

新上下文从现有上下文创建。The new context is created from the existing context. InheritInheritance 的默认值。Inherit is the default value for Inheritance.

注解

InheritanceOption用于的值InheritanceInheritanceOption is used for the value of Inheritance.

适用于