Class ProgressEventArgs
Encapsulates the data associated with cancellable progress events.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApiUpgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class ProgressEventArgs : CancelEventArgs
Constructors
ProgressEventArgs(int)
Creates a new ProgressEventArgs object and initializes it with the specified value.
Declaration
public ProgressEventArgs(int percentComplete)
Parameters
Type | Name | Description |
---|---|---|
int | percentComplete | A value between 0 and 100. |
ProgressEventArgs(int, string)
Creates a new ProgressEventArgs object and initializes it with the specified values.
Declaration
public ProgressEventArgs(int percentComplete, string infoMessage)
Parameters
Type | Name | Description |
---|---|---|
int | 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 |
---|---|
int |