Documentation

DisconnectCompletedEventArgs Class

xPCTargetPC.DisconnectCompleted event data

Syntax

public class DisconnectCompletedEventArgs : AsyncCompletedEventArgs

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class DisconnectCompletedEventArgs : AsyncCompletedEventArgs contains data returned from the event of asynchronously disconnecting from 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?