4 instantiations of Message
System.Messaging (4)
System\Messaging\DefaultPropertiesToSend.cs (1)
24
private Message cachedMessage = new
Message
();
System\Messaging\MessageQueue.cs (3)
2963
receiveMessage = new
Message
((MessagePropertyFilter)filter.Clone());
3048
receiveMessage = new
Message
((MessagePropertyFilter)filter.Clone());
3787
this.message = new
Message
(owner.MessageReadPropertyFilter);
141 references to Message
SMSvcHost (2)
System\ServiceModel\Activation\MsmqActivation.cs (2)
19
using MQMessage = System.Messaging.
Message
;
624
MQMessage
message = this.queue.EndPeek(result);
System.Messaging (139)
System\Messaging\ActiveXMessageFormatter.cs (3)
62
public bool CanRead(
Message
message)
111
public object Read(
Message
message)
242
public void Write(
Message
message, object obj)
System\Messaging\BinaryMessageFormatter.cs (3)
91
public bool CanRead(
Message
message)
118
public object Read(
Message
message)
138
public void Write(
Message
message, object obj)
System\Messaging\DefaultPropertiesToSend.cs (4)
24
private
Message
cachedMessage = new Message();
152
internal
Message
CachedMessage
505
if (TimeToBeReceived ==
Message
.InfiniteTimeout)
515
if (TimeToReachQueue ==
Message
.InfiniteTimeout)
System\Messaging\IMessageFormatter.cs (3)
29
bool CanRead(
Message
message);
36
object Read(
Message
message);
43
void Write(
Message
message, object obj);
System\Messaging\Message.cs (11)
65
/// Initializes a new instance of the <see cref='System.Messaging.
Message
'/> class with an empty body.
82
/// Initializes a new instance of the <see cref='System.Messaging.
Message
'/>
2092
if (size >
Message
.DefaultQueueNameSize)
2106
if (size >
Message
.DefaultCryptographicProviderNameSize)
2113
if (size >
Message
.DefaultQueueNameSize)
2127
if (size >
Message
.DefaultQueueNameSize)
2141
if (size >
Message
.DefaultQueueNameSize)
2148
if (size >
Message
.DefaultSenderCertificateSize)
2155
if (size >
Message
.DefaultSenderIdSize)
2162
if (size >
Message
.DefaultSymmetricKeySize)
2169
if (size >
Message
.DefaultDigitalSignatureSize)
System\Messaging\MessageEnumerator.cs (10)
41
/// <para>Gets the current <see cref='System.Messaging.
Message
'/> pointed to
44
public
Message
Current
195
public
Message
RemoveCurrent()
205
public
Message
RemoveCurrent(MessageQueueTransaction transaction)
218
public
Message
RemoveCurrent(MessageQueueTransactionType transactionType)
231
public
Message
RemoveCurrent(TimeSpan timeout)
241
public
Message
RemoveCurrent(TimeSpan timeout, MessageQueueTransaction transaction)
254
public
Message
RemoveCurrent(TimeSpan timeout, MessageQueueTransactionType transactionType)
262
private
Message
RemoveCurrent(TimeSpan timeout, MessageQueueTransaction transaction, MessageQueueTransactionType transactionType)
271
Message
message = this.owner.ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_RECEIVE,
System\Messaging\MessagePropertyFilter.cs (41)
104
/// <see cref='System.Messaging.
Message
.Acknowledgment' qualify='true'/> property information when receiving or peeking
125
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.AcknowledgeType' qualify='true'/> property information when receiving or peeking
146
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.AdministrationQueue' qualify='true'/> property information when receiving or peeking
167
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.AppSpecific' qualify='true'/> property information when receiving or peeking
188
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.ArrivedTime' qualify='true'/> property information when receiving or peeking
209
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.AttachSenderId' qualify='true'/> property information when receiving or peeking
230
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Authenticated' qualify='true'/> property information when receiving or peeking
251
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.AuthenticationProviderName' qualify='true'/> property information when receiving or peeking
272
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.AuthenticationProviderType' qualify='true'/> property information when receiving or peeking
293
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Body' qualify='true'/> property information when receiving or peeking
314
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.ConnectorType' qualify='true'/> property information when receiving or peeking
335
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.CorrelationId' qualify='true'/> property information when receiving or peeking
431
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.DestinationQueue' qualify='true'/> property information when receiving or peeking
453
/// <see cref='System.Messaging.
Message
.DestinationSymmetricKey' qualify='true'/> property information when receiving or peeking
474
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.DigitalSignature' qualify='true'/> property information when receiving or peeking
495
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.EncryptionAlgorithm' qualify='true'/> property information when receiving or peeking
516
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Extension' qualify='true'/> property information when receiving or peeking
537
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.HashAlgorithm' qualify='true'/> property information when receiving or peeking
558
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Id' qualify='true'/>
579
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.IsFirstInTransaction' qualify='true'/> property information when receiving or peeking
600
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.IsLastInTransaction' qualify='true'/> property information when receiving or peeking
621
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Label' qualify='true'/> property information when receiving or peeking
643
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.LookupId' qualify='true'/> property information when receiving or peeking
670
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.MessageType' qualify='true'/> property information when receiving or peeking
691
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Priority' qualify='true'/> property information when receiving or peeking
712
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.Recoverable' qualify='true'/> property information when receiving or peeking
733
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.ResponseQueue' qualify='true'/> property information when receiving or peeking
770
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.SenderCertificate' qualify='true'/> property information when receiving or peeking
791
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.SenderId' qualify='true'/> property information when receiving or peeking
812
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.SenderVersion' qualify='true'/> property information when receiving or peeking
833
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.SentTime' qualify='true'/> property information when receiving or peeking
854
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.SourceMachine' qualify='true'/> property information when receiving or peeking
875
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.TimeToBeReceived' qualify='true'/> property information when receiving or peeking
896
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.TimeToReachQueue' qualify='true'/> property information when receiving or peeking
917
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.TransactionId' qualify='true'/> property information when receiving or peeking
938
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.TransactionStatusQueue' qualify='true'/> property information when receiving or peeking
959
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.UseAuthentication' qualify='true'/> property information when receiving or peeking
980
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.UseDeadLetterQueue' qualify='true'/> property information when receiving or peeking
1001
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.UseEncryption' qualify='true'/> property information when receiving or peeking
1022
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.UseJournalQueue' qualify='true'/> property information when receiving or peeking
1043
/// Gets or sets a value indicating whether to retrieve <see cref='System.Messaging.
Message
.UseTracing' qualify='true'/> property information when receiving or peeking
System\Messaging\MessageQueue.cs (57)
770
Properties.SetString(NativeMethods.QUEUE_PROPID_LABEL,
Message
.StringToBytes(value));
1045
Properties.SetString(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS,
Message
.StringToBytes(value));
1669
properties.SetString(NativeMethods.QUEUE_PROPID_PATHNAME,
Message
.StringToBytes(path));
1770
public
Message
EndPeek(IAsyncResult asyncResult)
1783
public
Message
EndReceive(IAsyncResult asyncResult)
1789
private
Message
EndAsyncOperation(IAsyncResult asyncResult)
1867
public
Message
[] GetAllMessages()
1873
Message
message = (
Message
)messages.Current;
1877
Message
[] resultMessages = new
Message
[messageList.Count];
2273
public
Message
Peek()
2288
public
Message
Peek(TimeSpan timeout)
2294
public
Message
Peek(TimeSpan timeout, Cursor cursor, PeekAction action)
2314
public
Message
PeekById(string id)
2330
public
Message
PeekById(string id, TimeSpan timeout)
2345
public
Message
PeekByCorrelationId(string correlationId)
2361
public
Message
PeekByCorrelationId(string correlationId, TimeSpan timeout)
2396
public
Message
Receive()
2409
public
Message
Receive(MessageQueueTransaction transaction)
2421
public
Message
Receive(MessageQueueTransactionType transactionType)
2438
public
Message
Receive(TimeSpan timeout)
2444
public
Message
Receive(TimeSpan timeout, Cursor cursor)
2461
public
Message
Receive(TimeSpan timeout, MessageQueueTransaction transaction)
2474
public
Message
Receive(TimeSpan timeout, MessageQueueTransactionType transactionType)
2483
public
Message
Receive(TimeSpan timeout, Cursor cursor, MessageQueueTransaction transaction)
2496
public
Message
Receive(TimeSpan timeout, Cursor cursor, MessageQueueTransactionType transactionType)
2594
private
Message
ReceiveBy(string id, TimeSpan timeout, bool remove, bool compareId, bool throwTimeout, MessageQueueTransaction transaction, MessageQueueTransactionType transactionType)
2631
Message
message = this.ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_PEEK_CURRENT, cursorHandle,
2696
public
Message
ReceiveById(string id)
2709
public
Message
ReceiveById(string id, MessageQueueTransaction transaction)
2725
public
Message
ReceiveById(string id, MessageQueueTransactionType transactionType)
2743
public
Message
ReceiveById(string id, TimeSpan timeout)
2758
public
Message
ReceiveById(string id, TimeSpan timeout, MessageQueueTransaction transaction)
2776
public
Message
ReceiveById(string id, TimeSpan timeout, MessageQueueTransactionType transactionType)
2793
public
Message
ReceiveByCorrelationId(string correlationId)
2807
public
Message
ReceiveByCorrelationId(string correlationId, MessageQueueTransaction transaction)
2824
public
Message
ReceiveByCorrelationId(string correlationId, MessageQueueTransactionType transactionType)
2842
public
Message
ReceiveByCorrelationId(string correlationId, TimeSpan timeout)
2857
public
Message
ReceiveByCorrelationId(string correlationId, TimeSpan timeout, MessageQueueTransaction transaction)
2875
public
Message
ReceiveByCorrelationId(string correlationId, TimeSpan timeout, MessageQueueTransactionType transactionType)
2884
public
Message
ReceiveByLookupId(long lookupId)
2889
public
Message
ReceiveByLookupId(MessageLookupAction action, long lookupId, MessageQueueTransactionType transactionType)
2895
public
Message
ReceiveByLookupId(MessageLookupAction action, long lookupId, MessageQueueTransaction transaction)
2900
public
Message
PeekByLookupId(long lookupId)
2905
public
Message
PeekByLookupId(MessageLookupAction action, long lookupId)
2913
internal unsafe
Message
InternalReceiveByLookupId(bool receive, MessageLookupAction lookupAction, long lookupId,
2959
Message
receiveMessage = null;
3016
internal unsafe
Message
ReceiveCurrent(TimeSpan timeout, int action, CursorHandle cursor, MessagePropertyFilter filter, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
3044
Message
receiveMessage = null;
3226
if (obj is
Message
)
3228
((
Message
)obj).Label = label;
3258
Message
message = null;
3259
if (obj is
Message
)
3260
message = (
Message
)obj;
3679
private
Message
message;
3836
internal
Message
End()
System\Messaging\PeekCompletedEventArgs.cs (2)
23
private
Message
message;
57
public
Message
Message
System\Messaging\ReceiveCompletedEventArgs.cs (2)
22
private
Message
message;
56
public
Message
Message
System\Messaging\XmlMessageFormatter.cs (3)
119
public bool CanRead(
Message
message)
195
public object Read(
Message
message)
220
public void Write(
Message
message, object obj)