Search Results for

    Show / Hide Table of Contents

    Class ScheduledServerTranslationMemoryExport

    Represents the asynchronous export of translation units from a server-based translation memory, executed on the Execution Server. Use this class to schedule an asynchronous translation memory export.

    Inheritance
    object
    ScheduledOperation
    ImportExportOperationBase
    ScheduledServerTranslationMemoryExport
    Inherited Members
    ImportExportOperationBase.STREAM_HANDLER_TYPE
    ImportExportOperationBase.DefaultTranslationUnitChunkSize
    ImportExportOperationBase.LanguageDirection
    ImportExportOperationBase.Id
    ImportExportOperationBase.ChunkSize
    ImportExportOperationBase.ContinueOnError
    ImportExportOperationBase.IsScheduled
    ScheduledOperation.Status
    ScheduledOperation.ErrorMessage
    ScheduledOperation.PercentComplete
    ScheduledOperation.QueuedOn
    ScheduledOperation.StartedOn
    ScheduledOperation.CompletedOn
    ScheduledOperation.CancelledOn
    ScheduledOperation.IsFinished
    ScheduledOperation.IsRunning
    ScheduledOperation.IsPending
    ScheduledOperation.WorkItemId
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class ScheduledServerTranslationMemoryExport : ImportExportOperationBase

    Constructors

    ScheduledServerTranslationMemoryExport(ServerBasedTranslationMemoryLanguageDirection)

    Creates a new scheduled translation memory import.

    Declaration
    public ScheduledServerTranslationMemoryExport(ServerBasedTranslationMemoryLanguageDirection languageDirection)
    Parameters
    Type Name Description
    ServerBasedTranslationMemoryLanguageDirection languageDirection

    The translation memory language direction in which to import.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if languageDirection is null.

    Properties

    DownloadCancelEvent

    The download CancelEventHandler can be used to abort the file download.

    Declaration
    public EventHandler<FileTransferEventArgs> DownloadCancelEvent { get; set; }
    Property Value
    Type Description
    EventHandler<FileTransferEventArgs>

    FilterExpression

    Gets or sets the filter expression which will be used during the export.

    Declaration
    public FilterExpression FilterExpression { get; set; }
    Property Value
    Type Description
    FilterExpression

    TranslationUnitsExported

    Gets a count of the number of translation units which have been exported.

    Declaration
    public int TranslationUnitsExported { get; }
    Property Value
    Type Description
    int

    TranslationUnitsProcessed

    Gets a count of the number of translation units which have been processed.

    Declaration
    public int TranslationUnitsProcessed { get; }
    Property Value
    Type Description
    int

    Methods

    DownloadExport(Stream)

    Downloads the export.

    Declaration
    public bool DownloadExport(Stream destinationStream)
    Parameters
    Type Name Description
    Stream destinationStream
    Returns
    Type Description
    bool

    Queue()

    Queues the operation for execution on the Execution Server.

    Declaration
    public override void Queue()
    Overrides
    ScheduledOperation.Queue()

    Refresh()

    Refreshes the status of the operation.

    Declaration
    public override void Refresh()
    Overrides
    ScheduledOperation.Refresh()
    In this article
    • Constructors
      • ScheduledServerTranslationMemoryExport(ServerBasedTranslationMemoryLanguageDirection)
    • Properties
      • DownloadCancelEvent
      • FilterExpression
      • TranslationUnitsExported
      • TranslationUnitsProcessed
    • Methods
      • DownloadExport(Stream)
      • Queue()
      • Refresh()
    Back to top Generated by DocFX