Back to API Home

Retrieves an instance of the Project class specified by its ID. Only the Resources folder is populated.

Namespace: Dundas.Dashboard.Business
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public static void GetResourcesOnlyAsync(
	Guid id,
	OnCompleted<Project> callback
)
Visual Basic
Public Shared Sub GetResourcesOnlyAsync ( 
	id As Guid,
	callback As OnCompleted(Of Project)
)

Parameters

id
Type: System..::..Guid
ID of the project to retrieve.
callback
Type: Dundas.Dashboard..::..OnCompleted<(Of <(<'Project>)>)>
The callback for handling the completion event.

Exceptions

ExceptionCondition
Dundas.Dashboard..::..ObjectNotFoundExceptionThe project does not exist.
Dundas.Dashboard..::..NoPrivilegeExceptionNo privilege for attempted operation.
Dundas.Dashboard..::..InvalidArgumentExceptionA callback delegate must be specified.
Dundas.Dashboard..::..InvalidSessionExceptionYour session is no longer valid.

See Also