Documentation

LoadCompletedEventArgs Class

xPCTargetPC.LoadCompleted event data

Syntax

public class LoadCompletedEventArgs : AsyncCompletedEventArgs

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class LoadCompletedEventArgs : AsyncCompletedEventArgs contains data returned by the event of asynchronously loading a real-time application onto the target computer.

Properties

PropertiesC# Declaration SyntaxDescription

Application

public xPCApplication Application {get;}

Get reference to xPCApplication object.

Cancelled

public bool Cancelled {get;}

Get value that indicates if an asynchronous operation has been canceled.

Error

public Exception Error {get;}

Get value that indicates which error occurred during asynchronous operation.

UserState

public Object UserState {get;}

Get unique identifier for asynchronous task.

Introduced in R2012a

Was this topic helpful?