OrderServiceAgent Constructor (Uri)
Initializes a new instance of the OrderServiceAgent class for communicating with a specific Web service.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
serviceUri As Uri _
)
'Usage
Dim serviceUri As Uri
Dim instance As New OrderServiceAgent(serviceUri)
public OrderServiceAgent(
Uri serviceUri
)
public:
OrderServiceAgent(
Uri^ serviceUri
)
public function OrderServiceAgent(
serviceUri : Uri
)
Parameters
- serviceUri
Type: System..::.Uri
Uri for the web service. A URI is a compact representation of a resource available to your application on the Internet
Remarks
The OrderServiceAgent serves to abstract data from the user interface. The OrderServiceAgent provides authentication and SOAP proxy services when initialized to communicate with and authenticate against a Web service.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.