Share via


CompiledDataContext 构造函数

定义

初始化 CompiledDataContext 类的新实例。

重载

CompiledDataContext(IList<Location>)

使用位置的初始化 CompiledDataContext 类的新实例。

CompiledDataContext(IList<LocationReference>)

将使用引用位置的 CompiledDataContext 类的新实例初始化。

CompiledDataContext(IList<LocationReference>, ActivityContext)

使用引用位置和活动上下文初始化 CompiledDataContext 类的新实例,是节点。

CompiledDataContext(IList<Location>)

使用位置的初始化 CompiledDataContext 类的新实例。

protected:
 CompiledDataContext(System::Collections::Generic::IList<System::Activities::Location ^> ^ locations);
protected CompiledDataContext (System.Collections.Generic.IList<System.Activities.Location> locations);
new System.Activities.XamlIntegration.CompiledDataContext : System.Collections.Generic.IList<System.Activities.Location> -> System.Activities.XamlIntegration.CompiledDataContext
Protected Sub New (locations As IList(Of Location))

参数

locations
IList<Location>

位置。

适用于

CompiledDataContext(IList<LocationReference>)

将使用引用位置的 CompiledDataContext 类的新实例初始化。

protected:
 CompiledDataContext(System::Collections::Generic::IList<System::Activities::LocationReference ^> ^ locationReferences);
protected CompiledDataContext (System.Collections.Generic.IList<System.Activities.LocationReference> locationReferences);
new System.Activities.XamlIntegration.CompiledDataContext : System.Collections.Generic.IList<System.Activities.LocationReference> -> System.Activities.XamlIntegration.CompiledDataContext
Protected Sub New (locationReferences As IList(Of LocationReference))

参数

locationReferences
IList<LocationReference>

引用位置。

适用于

CompiledDataContext(IList<LocationReference>, ActivityContext)

使用引用位置和活动上下文初始化 CompiledDataContext 类的新实例,是节点。

protected:
 CompiledDataContext(System::Collections::Generic::IList<System::Activities::LocationReference ^> ^ locationReferences, System::Activities::ActivityContext ^ activityContext);
protected CompiledDataContext (System.Collections.Generic.IList<System.Activities.LocationReference> locationReferences, System.Activities.ActivityContext activityContext);
new System.Activities.XamlIntegration.CompiledDataContext : System.Collections.Generic.IList<System.Activities.LocationReference> * System.Activities.ActivityContext -> System.Activities.XamlIntegration.CompiledDataContext
Protected Sub New (locationReferences As IList(Of LocationReference), activityContext As ActivityContext)

参数

locationReferences
IList<LocationReference>

引用位置。

activityContext
ActivityContext

活动上下文。

适用于