Muokkaa

Jaa


ProfileServiceManager.Path Property

Definition

Gets or sets the path of a custom implementation of the profile Web service.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

Property Value

The path of a custom implementation of the profile Web service.

Exceptions

More than one unique path was set in the control hierarchy.

Remarks

Relative virtual paths, absolute virtual paths, and fully-qualified paths are allowed.

If the Path property is not set, the return value is Empty. In this case, the AJAX features of ASP.NET will then use the built-in profile Web service that corresponds to the following internal default path: ~/ScriptServices_ProfileService.asmx. The same behavior occurs if you set Path to be an empty value or null.

Path can be specified in the ScriptManager control or in an associated ScriptManagerProxy control. When Path is set at the ScriptManagerProxy level, the following caveats apply:

  • If there are multiple proxies in the control hierarchy, Path does not have to be set on each proxy instance.

  • If Path is explicitly set on a proxy instance, the value must be the same for all other proxies on which this property is explicitly set.

Applies to