Class ProgressEventArgs
Encapsulates the data associated with cancellable progress events.
Inheritance
Object
ProgressEventArgs
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class ProgressEventArgs : CancelEventArgs
Constructors
ProgressEventArgs(Int32)
Creates a new ProgressEventArgs object and initializes it with the specified value.
Declaration
public ProgressEventArgs(int percentComplete)
Parameters
Type | Name | Description |
---|---|---|
Int32 | percentComplete | A value between 0 and 100. |
ProgressEventArgs(Int32, String)
Creates a new ProgressEventArgs object and initializes it with the specified values.
Declaration
public ProgressEventArgs(int percentComplete, string infoMessage)
Parameters
Type | Name | Description |
---|---|---|
Int32 | percentComplete | A value between 0 and 100. |
String | infoMessage | The message, representing detailed information about the current operation. |
Properties
InfoMessage
Gets or sets a message representing detailed information about the current operation.
Declaration
public string InfoMessage { get; set; }
Property Value
Type | Description |
---|---|
String |
PercentComplete
Gets or sets the percentage.
Declaration
public int PercentComplete { get; set; }
Property Value
Type | Description |
---|---|
Int32 |