InstanceValue 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 InstanceValue 类的实例。
重载
| InstanceValue(Object) | 通过使用作为参数传递的值对象初始化 InstanceValue 类的实例。 | 
| InstanceValue(Object, InstanceValueOptions) | 使用作为参数传递的值对象和这些值的选项初始化 InstanceValue 类的实例。 | 
InstanceValue(Object)
通过使用作为参数传递的值对象初始化 InstanceValue 类的实例。
public:
 InstanceValue(System::Object ^ value);public InstanceValue (object value);new System.Runtime.DurableInstancing.InstanceValue : obj -> System.Runtime.DurableInstancing.InstanceValuePublic Sub New (value As Object)参数
- value
- Object
值对象。
适用于
InstanceValue(Object, InstanceValueOptions)
使用作为参数传递的值对象和这些值的选项初始化 InstanceValue 类的实例。
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.InstanceValuePublic Sub New (value As Object, options As InstanceValueOptions)参数
- value
- Object
值对象。
- options
- InstanceValueOptions
值对象的选项。 有关详细信息,请参阅 InstanceValueOptions。