System.Messaging Reference (Document! X Sample)



CreateTime Property
Gets the time and date that the queue was created in Message Queuing.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Indicates the time and date when the queue was created.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public ReadOnly Property CreateTime As Date
'Usage
 
Dim instance As MessageQueue
Dim value As Date
 
value = instance.CreateTime
[MessagingDescription("Indicates the time and date when the queue was created.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public DateTime CreateTime {get;}
[MessagingDescription("Indicates the time and date when the queue was created.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public:
property DateTime CreateTime {
   DateTime get();
}

Property Value

A System.DateTime that represents the date and time at which the queue was created.
Exceptions
ExceptionDescription
An error occurred when accessing a Message Queuing method.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also