Class ImportResult
Encapsulates information about the result of an import operation.
Inheritance
System.Object
ImportResult
Inherited Members
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: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
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
public Action Action { get; set; }
Property Value
Type | Description |
---|---|
Action |
ErrorCode
Gets or sets the error code.
Declaration
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
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 |
---|---|
System.String |
Overrides
System.Object.ToString()