TranslationJob members
Represents the main translation services object model class that is used to create, package, start, and cancel translation jobs.
The TranslationJob type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TranslationJob | Initializes a new instance of a TranslationJob object. |
Top
Properties
Name | Description | |
---|---|---|
Canceled | Gets a Boolean value that indicates if the translation job is canceled. | |
JobId | Gets the unique ID of the translation job. | |
Name | Gets or sets the name of the translation job. | |
OutputSaveBehavior | Specifies the save behavior that should be applied to files that already exist. | |
Started | Gets a Boolean value that specifies whether the translation job has been committed. | |
TargetLanguage | Gets a CultureInfo object that represents the language into which documents in the job are translated. | |
UserToken | Gets or sets a serialized open authorization (OAuth) token that is used to upload and download the items in the translation job. |
Top
Methods
Name | Description | |
---|---|---|
AddFile | Adds the inputFile (string) to the list of files to translate. | |
AddFolder | Adds all files in a website folder (inputFolder) to the list of files to translate. | |
AddLibrary | Adds all files in the inputList to the list of files to translate. | |
Cancel | Cancels a translation job in progress. | |
CancelJob | Cancels the translation job identified by jobId. | |
EnumerateItems | Enumerates items added to the job as key/value pairs. | |
EnumerateSupportedFileExtensions | Enumerates file extensions for file types supported by the translation service. | |
EnumerateSupportedLanguages | Enumerates CultureInfo objects that represent languages supported by the translation service. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetMaximumFileSize | Returns the maximum file size, in bytes, allowed by the translation service for files with the given file extension. | |
GetType | (Inherited from Object.) | |
IsFileExtensionSupported | Reports whether the file type indicated by the given file extension is supported by the translation service. | |
IsLanguageSupported | Reports whether a language is supported by the translation service. | |
IsServiceEnabled | Determines if the translation service is enabled in the given service context. | |
MemberwiseClone | (Inherited from Object.) | |
Start | Starts the processing of a translation job. | |
ToString | (Inherited from Object.) |
Top