Documentation

GetDataCompletedEventArgs Class

GetDataCompleted event data

Syntax

public class GetDataCompletedEventArgs : AsyncCompletedEventArgs

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class GetDataCompletedEventArgs : AsyncCompletedEventArgs contains data returned from the event of asynchronously completing a data access.

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.

State

public Object State {get;}

Optional. Get user-supplied state object.

UserState

public Object UserState {get;}

Get unique identifier for asynchronous task.

Introduced in R2012a

Was this topic helpful?