ItemService.CreateItemEventbased Method

MultiArchive SDK .NET

Collapse image Expand Image Copy image CopyHover image

[This is preliminary documentation and is subject to change.]

Method for creating a new item in MultiArchive.

The method makes sure that the ItemSpecification contains both field- and content-specifications and then makes an asynchronous call to the MultiArchive webservice. The return from the web service is not handled by this method but instead by the ItemOperationEventHandler which should be handled by the client code.

Namespace: MultiArchive.SDK.Services
Assembly: MultiArchive.SDK (in MultiArchive.SDK.dll) Version: 1.2.30.413 (1.2.30.413)

Syntax

C#
public void CreateItemEventbased(
	Credentials credentials,
	ItemSpecification itemSpecification
)
Visual Basic
Public Sub CreateItemEventbased ( 
	credentials As Credentials,
	itemSpecification As ItemSpecification
)
Visual C++
public:
void CreateItemEventbased(
	Credentials^ credentials, 
	ItemSpecification^ itemSpecification
)

Parameters

credentials
Type: Credentials
A Credentials object with information about the current user.
itemSpecification
Type: ItemSpecification
A ItemSpecification object containing information about the item being created.

Exceptions

Exception Condition
MultiArchive.SDK.Services.Exceptions..::..ItemException Throws an ItemException if either FieldSpecifications or ContentSpecifications are missing.

See Also