4 instantiations of Message
System.Messaging (4)
System\Messaging\DefaultPropertiesToSend.cs (1)
24private Message cachedMessage = new Message();
System\Messaging\MessageQueue.cs (3)
2963receiveMessage = new Message((MessagePropertyFilter)filter.Clone()); 3048receiveMessage = new Message((MessagePropertyFilter)filter.Clone()); 3787this.message = new Message(owner.MessageReadPropertyFilter);
141 references to Message
SMSvcHost (2)
System\ServiceModel\Activation\MsmqActivation.cs (2)
19using MQMessage = System.Messaging.Message; 624MQMessage message = this.queue.EndPeek(result);
System.Messaging (139)
System\Messaging\ActiveXMessageFormatter.cs (3)
62public bool CanRead(Message message) 111public object Read(Message message) 242public void Write(Message message, object obj)
System\Messaging\BinaryMessageFormatter.cs (3)
91public bool CanRead(Message message) 118public object Read(Message message) 138public void Write(Message message, object obj)
System\Messaging\DefaultPropertiesToSend.cs (4)
24private Message cachedMessage = new Message(); 152internal Message CachedMessage 505if (TimeToBeReceived == Message.InfiniteTimeout) 515if (TimeToReachQueue == Message.InfiniteTimeout)
System\Messaging\IMessageFormatter.cs (3)
29bool CanRead(Message message); 36object Read(Message message); 43void 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'/> 2092if (size > Message.DefaultQueueNameSize) 2106if (size > Message.DefaultCryptographicProviderNameSize) 2113if (size > Message.DefaultQueueNameSize) 2127if (size > Message.DefaultQueueNameSize) 2141if (size > Message.DefaultQueueNameSize) 2148if (size > Message.DefaultSenderCertificateSize) 2155if (size > Message.DefaultSenderIdSize) 2162if (size > Message.DefaultSymmetricKeySize) 2169if (size > Message.DefaultDigitalSignatureSize)
System\Messaging\MessageEnumerator.cs (10)
41/// <para>Gets the current <see cref='System.Messaging.Message'/> pointed to 44public Message Current 195public Message RemoveCurrent() 205public Message RemoveCurrent(MessageQueueTransaction transaction) 218public Message RemoveCurrent(MessageQueueTransactionType transactionType) 231public Message RemoveCurrent(TimeSpan timeout) 241public Message RemoveCurrent(TimeSpan timeout, MessageQueueTransaction transaction) 254public Message RemoveCurrent(TimeSpan timeout, MessageQueueTransactionType transactionType) 262private Message RemoveCurrent(TimeSpan timeout, MessageQueueTransaction transaction, MessageQueueTransactionType transactionType) 271Message 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)
770Properties.SetString(NativeMethods.QUEUE_PROPID_LABEL, Message.StringToBytes(value)); 1045Properties.SetString(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS, Message.StringToBytes(value)); 1669properties.SetString(NativeMethods.QUEUE_PROPID_PATHNAME, Message.StringToBytes(path)); 1770public Message EndPeek(IAsyncResult asyncResult) 1783public Message EndReceive(IAsyncResult asyncResult) 1789private Message EndAsyncOperation(IAsyncResult asyncResult) 1867public Message[] GetAllMessages() 1873Message message = (Message)messages.Current; 1877Message[] resultMessages = new Message[messageList.Count]; 2273public Message Peek() 2288public Message Peek(TimeSpan timeout) 2294public Message Peek(TimeSpan timeout, Cursor cursor, PeekAction action) 2314public Message PeekById(string id) 2330public Message PeekById(string id, TimeSpan timeout) 2345public Message PeekByCorrelationId(string correlationId) 2361public Message PeekByCorrelationId(string correlationId, TimeSpan timeout) 2396public Message Receive() 2409public Message Receive(MessageQueueTransaction transaction) 2421public Message Receive(MessageQueueTransactionType transactionType) 2438public Message Receive(TimeSpan timeout) 2444public Message Receive(TimeSpan timeout, Cursor cursor) 2461public Message Receive(TimeSpan timeout, MessageQueueTransaction transaction) 2474public Message Receive(TimeSpan timeout, MessageQueueTransactionType transactionType) 2483public Message Receive(TimeSpan timeout, Cursor cursor, MessageQueueTransaction transaction) 2496public Message Receive(TimeSpan timeout, Cursor cursor, MessageQueueTransactionType transactionType) 2594private Message ReceiveBy(string id, TimeSpan timeout, bool remove, bool compareId, bool throwTimeout, MessageQueueTransaction transaction, MessageQueueTransactionType transactionType) 2631Message message = this.ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_PEEK_CURRENT, cursorHandle, 2696public Message ReceiveById(string id) 2709public Message ReceiveById(string id, MessageQueueTransaction transaction) 2725public Message ReceiveById(string id, MessageQueueTransactionType transactionType) 2743public Message ReceiveById(string id, TimeSpan timeout) 2758public Message ReceiveById(string id, TimeSpan timeout, MessageQueueTransaction transaction) 2776public Message ReceiveById(string id, TimeSpan timeout, MessageQueueTransactionType transactionType) 2793public Message ReceiveByCorrelationId(string correlationId) 2807public Message ReceiveByCorrelationId(string correlationId, MessageQueueTransaction transaction) 2824public Message ReceiveByCorrelationId(string correlationId, MessageQueueTransactionType transactionType) 2842public Message ReceiveByCorrelationId(string correlationId, TimeSpan timeout) 2857public Message ReceiveByCorrelationId(string correlationId, TimeSpan timeout, MessageQueueTransaction transaction) 2875public Message ReceiveByCorrelationId(string correlationId, TimeSpan timeout, MessageQueueTransactionType transactionType) 2884public Message ReceiveByLookupId(long lookupId) 2889public Message ReceiveByLookupId(MessageLookupAction action, long lookupId, MessageQueueTransactionType transactionType) 2895public Message ReceiveByLookupId(MessageLookupAction action, long lookupId, MessageQueueTransaction transaction) 2900public Message PeekByLookupId(long lookupId) 2905public Message PeekByLookupId(MessageLookupAction action, long lookupId) 2913internal unsafe Message InternalReceiveByLookupId(bool receive, MessageLookupAction lookupAction, long lookupId, 2959Message receiveMessage = null; 3016internal unsafe Message ReceiveCurrent(TimeSpan timeout, int action, CursorHandle cursor, MessagePropertyFilter filter, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType) 3044Message receiveMessage = null; 3226if (obj is Message) 3228((Message)obj).Label = label; 3258Message message = null; 3259if (obj is Message) 3260message = (Message)obj; 3679private Message message; 3836internal Message End()
System\Messaging\PeekCompletedEventArgs.cs (2)
23private Message message; 57public Message Message
System\Messaging\ReceiveCompletedEventArgs.cs (2)
22private Message message; 56public Message Message
System\Messaging\XmlMessageFormatter.cs (3)
119public bool CanRead(Message message) 195public object Read(Message message) 220public void Write(Message message, object obj)