Share via


TtlInSecondsConfigElement.TtlInSecondsValidationAttribute.Validate Method

Checks whether the value parameter contains an integer that is less than -1.

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

Usage

'Usage
Dim value As Object
Dim ttlInSecondsConfigElement_TtlInSecondsValidationAttribute1 As TtlInSecondsConfigElement.TtlInSecondsValidationAttribute
ttlInSecondsConfigElement_TtlInSecondsValidationAttribute1.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

Remarks

Throws a ConfigurationErrorsException if the value is less than 0 and is not equal to -1.

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

TtlInSecondsConfigElement.TtlInSecondsValidationAttribute Class
TtlInSecondsConfigElement.TtlInSecondsValidationAttribute Members
Microsoft.Web.Services3.Security.Configuration Namespace