Class AssetImportJob

Inheritance
System.Object
AssetImportJob
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Assets.ImportExport
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class AssetImportJob : IBackgroundTask

Constructors

AssetImportJob(IDictionary<String, String>)

Declaration
public AssetImportJob(IDictionary<string, string> arguments)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> arguments

AssetImportJob(String, OverwriteOptionsEnum, CatalogItemAssetImportExport)

Declaration
public AssetImportJob(string sourceXmlFile, OverwriteOptionsEnum overwriteOptions, CatalogItemAssetImportExport importer)
Parameters
Type Name Description
System.String sourceXmlFile
OverwriteOptionsEnum overwriteOptions
CatalogItemAssetImportExport importer

Properties

BackgroundTaskType

Declaration
public Type BackgroundTaskType { get; }
Property Value
Type Description
System.Type

TaskArguments

Declaration
public IDictionary<string, string> TaskArguments { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

Methods

Execute(Action<IBackgroundTaskMessage>, CancellationToken)

Declaration
public bool Execute(Action<IBackgroundTaskMessage> addMessage, CancellationToken cancellationToken)
Parameters
Type Name Description
System.Action<IBackgroundTaskMessage> addMessage
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Boolean

Implements