MultiArchive SDK .NET Documentation |
ItemService Members |
ItemService Class Constructors Methods Events See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
The ItemService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ItemService()()()() |
Default constructor.
|
|
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. |
|
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 | |
---|---|---|
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. |
|
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. |
|
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. |
|
Dispose()()()() |
Public method for closing the connection to the ItemPortTypeClient correctly.
|
|
Dispose(Boolean) |
Releases the unmanaged resources used by the ItemService and optionally releases the managed resources
|
|
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. |
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
ItemOperationCompletedEvent |
Public event to be handled by client code, if the eventbased CreateItem is used.
|