다음을 통해 공유


ImportExtension Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Extension for package setup import activities.

Namespace:   Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase
Assembly:  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase (in Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.ImportExtension

Syntax

public abstract class ImportExtension : IImportExtensions2, IImportExtensions
Public MustInherit Class ImportExtension
    Implements IImportExtensions2, IImportExtensions

Constructors

Name Description
System_CAPS_protmethod ImportExtension()

Properties

Name Description
System_CAPS_pubproperty CrmSvc

Returns a pointer to the CRM instance.

System_CAPS_pubproperty DataImportBypass

System_CAPS_pubproperty GetExtraProgramLaunchLinkText

Returns the Title Link Text that is show on the completed page.

System_CAPS_pubproperty GetImportLongName

Returns the long name of the import process.

System_CAPS_pubproperty GetImportPackageDataFolderName

Returns the name of the Import package data folder.

System_CAPS_pubproperty GetImportPackageDescription

Gets package description import.

System_CAPS_pubproperty GetImportPackageDescriptionText

Description of the import package.

System_CAPS_pubproperty GetImportPackageFolderName

Returns the folder name of the import.

System_CAPS_pubproperty GetLongNameOfImport

Returns the long name of the import process.

System_CAPS_pubproperty OverrideDataImportSafetyChecks

System_CAPS_pubproperty RootControlDispatcher

Parent dispatcher for displaying UI elements.

System_CAPS_pubproperty RuntimeSettings

Methods

Name Description
System_CAPS_pubmethod AfterPrimaryImport()

Called After all Import steps are complete, allowing for final customizations or tweaking of the CRM instance.

System_CAPS_pubmethod BeforeApplicationRecordImport(ApplicationRecord)

Called Before each application record is imported.

System_CAPS_pubmethod BeforeImportStage()

Called before the Main Import process begins, after solutions and data.

System_CAPS_protmethod CreateProgressItem(String)

Create and add new progress item.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetImportName(Boolean)

Returns the Name of the import project.

System_CAPS_pubmethod GetNameOfImport(Boolean)

Returns the Name of the Import project.

System_CAPS_protmethod GetProcessId(String, Boolean)

Gets the Id for a Dialog by Name.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeCustomExtension()

Called to Initialize any functions in the Custom Extension.

System_CAPS_pubmethod InitializeExtension()

Initialize extension functionality.

System_CAPS_protmethod IsRoleAssoicatedWithTeam(Guid, Guid)

Checks to see if the Team is already associated to the requested security role.

System_CAPS_protmethod IsWorkflowActive(Guid)

Is a Workflow Active.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod OverrideConfigurationDataFileLanguage(Int32, List<Int32>)

System_CAPS_pubmethod PerApplicationRecordImport(ApplicationRecord)

Internal Use..&amp;gt; Do not call.

System_CAPS_pubmethod PostImport()

Internal Use..&amp;gt; Do not call.

System_CAPS_pubmethod PreImport()

Internal Use..&amp;gt; Do not call.

System_CAPS_pubmethod PreSolutionImport(String, Boolean, Boolean, Boolean, Boolean)

System_CAPS_pubmethod PreSolutionImport(String, Boolean, Boolean)

Obsolete.

System_CAPS_protmethod RaiseFailEvent(String, Exception)

Raised a failed event to the caller.

System_CAPS_protmethod RaiseUpdateEvent(String, ProgressPanelItemStatus)

Raise a Status updated event.

System_CAPS_pubmethod RunSolutionUpgradeMigrationStep(String, String, String, Guid, Guid)

Is called during a solution upgrade when both solutions, old and Holding, are present in the system.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfield PackageLog

Logging Interface.

Events

Name Description
System_CAPS_pubevent AddNewProgressItem

Describes an event for new progress item.

System_CAPS_pubevent UpdateProgressItem

Describes an event for update progress item.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright