ItemService Constructor (SDKTransportProtocol, String, Int32, MessageVersion)

MultiArchive SDK .NET

Collapse image Expand Image Copy image CopyHover image

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

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.

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

Syntax

C#
public ItemService(
	SDKTransportProtocol protocol,
	string serverAddress,
	int port,
	MessageVersion messageVersion
)
Visual Basic
Public Sub New ( 
	protocol As SDKTransportProtocol,
	serverAddress As String,
	port As Integer,
	messageVersion As MessageVersion
)
Visual C++
public:
ItemService(
	SDKTransportProtocol protocol, 
	String^ serverAddress, 
	int port, 
	MessageVersion^ messageVersion
)

Parameters

protocol
Type: MultiArchive.SDK.ServiceUtils..::..SDKTransportProtocol
The transport protocol to be used in the endpoint.
serverAddress
Type: System..::..String
The address of the MultiArchive server.
port
Type: System..::..Int32
The port to be used for the communication.
messageVersion
Type: System.ServiceModel.Channels..::..MessageVersion
The message encoding used for the SOAP messaging.

See Also