Partager via


RevocationModeValidation.CanValidate Method

Checks whether the System.Type parameter is a string.

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

Usage

'Usage
Dim type As Type
Dim returnValue As Boolean
Dim revocationModeValidation1 As RevocationModeValidation
returnValue = revocationModeValidation1.CanValidate(type)

Syntax

'Declaration
Public Overrides Function CanValidate( _
    ByVal type As Type _
) As Boolean
public override bool CanValidate(
    Type type
);
public:
virtual bool CanValidate(
    Type^ type
) override;
public override boolean CanValidate(
    Type type
);
public override function CanValidate(
     type : Type
) : Boolean;

Parameters

  • type
    A System.Type to validate.

Return Value

true when type is a string; otherwise, false.

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

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