System\Messaging\MessageQueue.cs (59)
299Properties.SetUI1(NativeMethods.QUEUE_PROPID_AUTHENTICATE, (byte)0);
301this.authenticate = (Properties.GetUI1(NativeMethods.QUEUE_PROPID_AUTHENTICATE) != NativeMethods.QUEUE_AUTHENTICATE_NONE);
303Properties.Remove(NativeMethods.QUEUE_PROPID_AUTHENTICATE);
312Properties.SetUI1(NativeMethods.QUEUE_PROPID_AUTHENTICATE, (byte)NativeMethods.QUEUE_AUTHENTICATE_AUTHENTICATE);
314Properties.SetUI1(NativeMethods.QUEUE_PROPID_AUTHENTICATE, (byte)NativeMethods.QUEUE_AUTHENTICATE_NONE);
319Properties.Remove(NativeMethods.QUEUE_PROPID_AUTHENTICATE);
335Properties.SetI2(NativeMethods.QUEUE_PROPID_BASEPRIORITY, (short)0);
339Properties.Remove(NativeMethods.QUEUE_PROPID_BASEPRIORITY);
348Properties.SetI2(NativeMethods.QUEUE_PROPID_BASEPRIORITY, value);
352Properties.Remove(NativeMethods.QUEUE_PROPID_BASEPRIORITY);
415Properties.SetNull(NativeMethods.QUEUE_PROPID_TYPE);
418IntPtr handle = Properties.GetIntPtr(NativeMethods.QUEUE_PROPID_TYPE);
428Properties.Remove(NativeMethods.QUEUE_PROPID_TYPE);
435Properties.SetGuid(NativeMethods.QUEUE_PROPID_TYPE, value.ToByteArray());
439Properties.Remove(NativeMethods.QUEUE_PROPID_TYPE);
480Properties.SetI4(NativeMethods.QUEUE_PROPID_CREATE_TIME, 0);
484Properties.Remove(NativeMethods.QUEUE_PROPID_CREATE_TIME);
583Properties.SetUI4(NativeMethods.QUEUE_PROPID_PRIV_LEVEL, 0);
585this.encryptionLevel = Properties.GetUI4(NativeMethods.QUEUE_PROPID_PRIV_LEVEL);
587Properties.Remove(NativeMethods.QUEUE_PROPID_PRIV_LEVEL);
597Properties.SetUI4(NativeMethods.QUEUE_PROPID_PRIV_LEVEL, (int)value);
601Properties.Remove(NativeMethods.QUEUE_PROPID_PRIV_LEVEL);
715Properties.SetNull(NativeMethods.QUEUE_PROPID_INSTANCE);
718IntPtr handle = Properties.GetIntPtr(NativeMethods.QUEUE_PROPID_INSTANCE);
727Properties.Remove(NativeMethods.QUEUE_PROPID_INSTANCE);
744Properties.SetNull(NativeMethods.QUEUE_PROPID_LABEL);
747IntPtr handle = Properties.GetIntPtr(NativeMethods.QUEUE_PROPID_LABEL);
758Properties.Remove(NativeMethods.QUEUE_PROPID_LABEL);
770Properties.SetString(NativeMethods.QUEUE_PROPID_LABEL, Message.StringToBytes(value));
774Properties.Remove(NativeMethods.QUEUE_PROPID_LABEL);
793Properties.SetI4(NativeMethods.QUEUE_PROPID_MODIFY_TIME, 0);
797Properties.Remove(NativeMethods.QUEUE_PROPID_MODIFY_TIME);
865Properties.SetUI4(NativeMethods.QUEUE_PROPID_JOURNAL_QUOTA, 0);
869Properties.Remove(NativeMethods.QUEUE_PROPID_JOURNAL_QUOTA);
880Properties.SetUI4(NativeMethods.QUEUE_PROPID_JOURNAL_QUOTA, (int)((uint)value));
884Properties.Remove(NativeMethods.QUEUE_PROPID_JOURNAL_QUOTA);
903Properties.SetUI4(NativeMethods.QUEUE_PROPID_QUOTA, 0);
907Properties.Remove(NativeMethods.QUEUE_PROPID_QUOTA);
918Properties.SetUI4(NativeMethods.QUEUE_PROPID_QUOTA, (int)((uint)value));
922Properties.Remove(NativeMethods.QUEUE_PROPID_QUOTA);
1016Properties.SetNull(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS);
1019IntPtr handle = Properties.GetIntPtr(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS);
1029Properties.Remove(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS);
1043Properties.SetEmpty(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS);
1045Properties.SetString(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS, Message.StringToBytes(value));
1050Properties.Remove(NativeMethods.QUEUE_PROPID_MULTICAST_ADDRESS);
1181Properties.SetNull(NativeMethods.QUEUE_PROPID_PATHNAME);
1184IntPtr handle = Properties.GetIntPtr(NativeMethods.QUEUE_PROPID_PATHNAME);
1192Properties.Remove(NativeMethods.QUEUE_PROPID_PATHNAME);
1298Properties.SetUI1(NativeMethods.QUEUE_PROPID_JOURNAL, (byte)0);
1300this.useJournaling = (Properties.GetUI1(NativeMethods.QUEUE_PROPID_JOURNAL) != NativeMethods.QUEUE_JOURNAL_NONE);
1302Properties.Remove(NativeMethods.QUEUE_PROPID_JOURNAL);
1310Properties.SetUI1(NativeMethods.QUEUE_PROPID_JOURNAL, (byte)NativeMethods.QUEUE_JOURNAL_JOURNAL);
1312Properties.SetUI1(NativeMethods.QUEUE_PROPID_JOURNAL, (byte)NativeMethods.QUEUE_JOURNAL_NONE);
1317Properties.Remove(NativeMethods.QUEUE_PROPID_JOURNAL);
1855int status = UnsafeNativeMethods.MQGetQueueProperties(FormatName, Properties.Lock());
1856Properties.Unlock();
3125int status = UnsafeNativeMethods.MQSetQueueProperties(FormatName, Properties.Lock());
3126Properties.Unlock();