संपादित करें

इसके माध्यम से साझा किया गया


AuthenticationServiceManager.Path Property

Definition

Gets or sets the path of the authentication 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 the custom authentication Web service.

Exceptions

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

Remarks

If the Path property is not set, then the return value is String.Empty. In this case, the AJAX functionality in ASP.NET will then use the built-in authentication Web service that corresponds to the following internal default path: ~/ScriptServices_AuthenticationService.asmx. The same behavior occurs if you set Path to 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