Class ImportResult
Encapsulates information about the result of an import operation.
Inheritance
Object
ImportResult
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
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
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 |
---|---|
Error |
TuId
Gets or sets the translation unit ID for which this instance was created.
Declaration
public PersistentObjectToken TuId { get; set; }
Property Value
Type | Description |
---|---|
Persistent |
Methods
ToString()
Show usefull information about the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
System.Object.ToString()