Documentation

ConnectCompletedEventArgs Class

xPCTargetPC.ConnectCompleted event data

Syntax

public class ConnectCompletedEventArgs : AsyncCompletedEventArgs

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class ConnectCompletedEventArgs : AsyncCompletedEventArgs contains data returned from the event of asynchronously connecting to the target computer.

Properties

PropertiesC# Declaration SyntaxDescription

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?