次の方法で共有


MSMQMessage.SentTime (Compact 2013)

3/26/2014

This property indicates when a message is sent.

Syntax

HRESULT get_SentTime( 
  VARIANT* pvarSentTime 
);

Parameters

  • pvarSentTime
    Date when message was sent.

Return Value

The following table describes the common return values.

Value

Description

S_OK

Success

E_INVALIDARG

One or more arguments are invalid

E_NOTIMPL

The function contains no implementation

E_OUTOFMEMORY

Out of memory

Remarks

You can also retrieve the sent time of a message using Message Queuing function calls. For more information, see PROPID_M_SENTTIME.

Requirements

Header

mqoai.h

Library

mqoa.lib

See Also

Reference

MSMQMessage
PROPID_M_SENTTIME