.

ConfigLoader.PropertyErrorEventHandler

This is the data type of the PropertyErrorEvent member. A variable can be defined as this type and assigned a value of a function.

Version History

Introduced in MPX 2.0.

Result

Void

Arguments

 
Argument Type Description
sender ConfigLoader The object that triggered the event.
e ConfigLoadPropertyErrorEventArgs An object that contains the event data.

Visual Basic

Syntax

Delegate Sub PropertyStatusEventHandler(ByVal sender As
       Mpx.ConfigLoader, ByVal args As
       Mpx.ConfigLoadPropertyStatusEventArgs)

Sample Code

 
Dim loader As Mpx.ConfigLoader = New Mpx.ConfigLoader()
Dim loaderPropertyStatusEvent As 
    Mpx.ConfigLoader.PropertyStatusEventHandler = 
    AddressOf OnLoadPropertyStatus
AddHandler loader.PropertyStatusEvent,  loaderPropertyStatusEvent


Sample Application

 

C#

Syntax

delegate void PropertyErrorEventHandler (
    ConfigLoader sender,
    ConfigLoadPropertyErrorEventArgs e
)

Sample Code

 

Mpx.ConfigLoader loader = new Mpx.ConfigLoader();
Mpx.ConfigLoader.PropertyErrorEventHandler loaderPropertyErrorEvent;
loaderPropertyErrorEvent = OnLoadPropertyError;
loader.PropertyErrorEvent += loaderPropertyErrorEvent;

See Also

PropertyErrorEventHandler
ConfigLoader
ConfigLoadPropertyErrorEventArgs

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering