CompiledDataContext 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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.CompiledDataContextProtected Sub New (locations As IList(Of 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.CompiledDataContextProtected 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.CompiledDataContextProtected Sub New (locationReferences As IList(Of LocationReference), activityContext As ActivityContext)参数
- locationReferences
- IList<LocationReference>
引用位置。
- activityContext
- ActivityContext
活动上下文。