Class LoadModuleCompletedEventArgs
Provides completion information after a module is loaded, or fails to load.
Inheritance
System.Object
System.EventArgs
LoadModuleCompletedEventArgs
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class LoadModuleCompletedEventArgs : EventArgs
Constructors
View SourceLoadModuleCompletedEventArgs(ModuleInfo, Exception)
Initializes a new instance of the LoadModuleCompletedEventArgs class.
Declaration
public LoadModuleCompletedEventArgs(ModuleInfo moduleInfo, Exception error)
Parameters
Type | Name | Description |
---|---|---|
ModuleInfo | moduleInfo | The module info. |
System.Exception | error | Any error that occurred during the call. |
Properties
View SourceError
Gets any error that occurred
Declaration
public Exception Error { get; }
Property Value
Type | Description |
---|---|
System.Exception | The exception if an error occurred; otherwise null. |
IsErrorHandled
Gets or sets a value indicating whether the error has been handled by the event subscriber.
Declaration
public bool IsErrorHandled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher.
ModuleInfo
Gets the module info.
Declaration
public ModuleInfo ModuleInfo { get; }
Property Value
Type | Description |
---|---|
ModuleInfo | The module info. |