Class ImportResult
Encapsulates information about the result of an import operation.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
[DataContract]
public class ImportResult
Constructors
ImportResult()
Initializes a new instance with default values.
Declaration
public ImportResult()
ImportResult(Action)
Initializes a new instance of the ImportResult class with the specified action.
Declaration
public ImportResult(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | The action. |
ImportResult(Action, ErrorCode)
Initializes a new instance of the ImportResult class with the specified action, error code and error message.
Declaration
public ImportResult(Action action, ErrorCode errorCode)
Parameters
Type | Name | Description |
---|---|---|
Action | action | The action. |
ErrorCode | errorCode | The error code. |
Properties
Action
Gets or sets the action.
Declaration
[DataMember]
public Action Action { get; set; }
Property Value
Type | Description |
---|---|
Action |
ErrorCode
Gets or sets the error code.
Declaration
[DataMember]
public ErrorCode ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
ErrorCode |
TuId
Gets or sets the translation unit ID for which this instance was created.
Declaration
[DataMember]
public PersistentObjectToken TuId { get; set; }
Property Value
Type | Description |
---|---|
PersistentObjectToken |
Methods
ToString()
Show usefull information about the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |