Expires Class

Represents an Expires timestamp placed in a SOAP message header.

Namespace: Microsoft.Web.Services2.Security.Utility
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim expires As DateTime
Dim expires1 As New Expires(expires)

Syntax

'Declaration
Public Class Expires
    Inherits OpenAttributeDateTimeElement
    Implements IXmlElement
public class Expires : OpenAttributeDateTimeElement, IXmlElement
public ref class Expires : public OpenAttributeDateTimeElement, IXmlElement
public class Expires extends OpenAttributeDateTimeElement implements IXmlElement
public class Expires extends OpenAttributeDateTimeElement implements IXmlElement

Remarks

The Expires class corresponds to the <wsu:Expires> element. ("wsu" is the utility namespace prefix; the full namespace is http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd).

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services2.Xml.OpenAttributeElement
     Microsoft.Web.Services2.Xml.OpenAttributeDateTimeElement
      Microsoft.Web.Services2.Security.Utility.Expires

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security.Utility Namespace

Other Resources

Expires Members