InstanceValue 构造函数

定义

初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class.

重载

InstanceValue(Object)

通过使用作为参数传递的值对象初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class by using value object passed as a parameter.

InstanceValue(Object, InstanceValueOptions)

使用作为参数传递的值对象和这些值的选项初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class by using the value Object and the options for those values passed as parameters.

InstanceValue(Object)

通过使用作为参数传递的值对象初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class by using value object passed as a parameter.

public:
 InstanceValue(System::Object ^ value);
public InstanceValue (object value);
new System.Runtime.DurableInstancing.InstanceValue : obj -> System.Runtime.DurableInstancing.InstanceValue
Public Sub New (value As Object)

参数

value
Object

值对象。The value object.

适用于

InstanceValue(Object, InstanceValueOptions)

使用作为参数传递的值对象和这些值的选项初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class by using the value Object and the options for those values passed as parameters.

public:
 InstanceValue(System::Object ^ value, System::Runtime::DurableInstancing::InstanceValueOptions options);
public InstanceValue (object value, System.Runtime.DurableInstancing.InstanceValueOptions options);
new System.Runtime.DurableInstancing.InstanceValue : obj * System.Runtime.DurableInstancing.InstanceValueOptions -> System.Runtime.DurableInstancing.InstanceValue
Public Sub New (value As Object, options As InstanceValueOptions)

参数

value
Object

值对象。The value object.

options
InstanceValueOptions

值对象的选项。The options for the value object. 有关详细信息,请参阅 InstanceValueOptionsFor more information, see InstanceValueOptions.

适用于