ProfilesServiceAgent Constructor (Uri)
Initializes a new instance of the ProfilesServiceAgent class to run against the specified Profiles Web Service.
Namespace: Microsoft.CommerceServer.Profiles
Assembly: Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
serviceUri As Uri _
)
'Usage
Dim serviceUri As Uri
Dim instance As New ProfilesServiceAgent(serviceUri)
public ProfilesServiceAgent(
Uri serviceUri
)
public:
ProfilesServiceAgent(
Uri^ serviceUri
)
public function ProfilesServiceAgent(
serviceUri : Uri
)
Parameters
- serviceUri
Type: System..::.Uri
The Uri used to locate the Web service this agent will run against.
Remarks
The ProfilesServiceAgent will use the DefaultAuthModes to connect, and will not prompt on failure.
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.