Partager via


StoreLocationValidation.Validate Method

Checks whether the value parameter contains one of the following strings: CurrentUser or LocalMachine.

Namespace: Microsoft.Web.Services3.Security.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim value As Object
Dim storeLocationValidation1 As StoreLocationValidation
storeLocationValidation1.Validate(value)

Syntax

'Declaration
Public Overrides Sub Validate( _
    ByVal value As Object _
)
public override void Validate(
    object value
);
public:
virtual void Validate(
    Object^ value
) override;
public override void Validate(
    System.Object value
);
public override function Validate(
     value : Object
) : Void;

Parameters

  • value
    The string to be validated.

Remarks

Throws a System.Configuration.ConfigurationErrorsException.ConfigurationErrorsException string if the parameter does not contain any one of the following strings: CurrentUser or LocalMachine.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

StoreLocationValidation Class
StoreLocationValidation Members
Microsoft.Web.Services3.Security.Configuration Namespace