Create Method (Uri)
Creates a new instance of the ProfileManagementContext class using the specified Profiles Web Service Uri.
Namespace: Microsoft.CommerceServer.Profiles
Assembly: Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)
Syntax
'Declaration
Public Shared Function Create ( _
serviceUri As Uri _
) As ProfileManagementContext
'Usage
Dim serviceUri As Uri
Dim returnValue As ProfileManagementContext
returnValue = ProfileManagementContext.Create(serviceUri)
public static ProfileManagementContext Create(
Uri serviceUri
)
public:
static ProfileManagementContext^ Create(
Uri^ serviceUri
)
public static function Create(
serviceUri : Uri
) : ProfileManagementContext
Parameters
- serviceUri
Type: System..::.Uri
The full URI of the Profiles Web Service, used to locate the Web service this agent will run against
Return Value
Type: Microsoft.CommerceServer.Profiles..::.ProfileManagementContext
A new instance of the ProfileManagementContext class.
Remarks
Initializes a new instance of the ProfileManagementContext class for Agent mode using the Web service of the specified serviceUri.
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.
See Also
Reference
ProfileManagementContext Class