Back to API Home

Pastes the contents of a Project specified by its ID into a target Project.

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 PasteAsync(
	Guid sourceProjectId,
	Guid targetProjectId,
	OnCompleted<DuplicateProjectResult> callback
)
Visual Basic
Public Shared Sub PasteAsync ( 
	sourceProjectId As Guid,
	targetProjectId As Guid,
	callback As OnCompleted(Of DuplicateProjectResult)
)

Parameters

sourceProjectId
Type: System..::..Guid
The ID of the project to paste.
targetProjectId
Type: System..::..Guid
The ID of the target project.
callback
Type: Dundas.Dashboard..::..OnCompleted<(Of <(<'DuplicateProjectResult>)>)>
The callback for handling the completion event.

Exceptions

ExceptionCondition
Dundas.Dashboard..::..ObjectNotFoundExceptionThe source or target 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