ItemService Members

MultiArchive SDK .NET

Collapse image Expand Image Copy image CopyHover image

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

The ItemService type exposes the following members.

Constructors

  Name Description
Public method ItemService()()()()
Default constructor.
Public method ItemService(SDKTransportProtocol, String, Int32)
Constructor to use, if there for some reason is no App.config present in the application.

The serverAddress can be either an IPv4, IPv6 or a domain address.
Public method ItemService(SDKTransportProtocol, String, Int32, MessageVersion)
Constructor to use, if there for some reason is no App.config present in the application.
The extra parameter messageVersion specifies which message encoding should be used in the endpoint binding.

Methods

  Name Description
Public method CreateItem
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. It then waits for the asynchronous call to return before it itself returns the URN of the newly created item.
Public method CreateItemAsync
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 callback method provided via the parameter callback.
Public method CreateItemEventbased
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.
Public method Dispose()()()()
Public method for closing the connection to the ItemPortTypeClient correctly.
Protected method Dispose(Boolean)
Releases the unmanaged resources used by the ItemService and optionally releases the managed resources
Public method EndcreateItem
Method for handling the call to MultiArchive web service to end the creation of a new item.

This method wraps the call to the proxy and is used when the asynchronous call to CreateItem is used.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Events

  Name Description
Public event ItemOperationCompletedEvent
Public event to be handled by client code, if the eventbased CreateItem is used.

See Also