2 writes to properties
System.Messaging (2)
System\Messaging\Message.cs (2)
70
properties
= new MessagePropertyVariants();
108
properties
= new MessagePropertyVariants();
285 references to properties
System.Messaging (285)
System\Messaging\ActiveXMessageFormatter.cs (21)
124
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
125
size = message.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE);
137
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
138
size = message.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE) / 2;
149
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
150
size = message.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE);
156
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
164
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
169
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
174
bytes = message.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
259
message.
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, this.internalBuffer);
260
message.
properties
.AdjustSize(NativeMethods.MESSAGE_PROPID_BODY, size);
261
message.
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE, size);
262
message.
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_TYPE, VT_LPWSTR);
272
message.
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, this.internalBuffer);
273
message.
properties
.AdjustSize(NativeMethods.MESSAGE_PROPID_BODY, bytes.Length);
274
message.
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE, bytes.Length);
275
message.
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_TYPE, VT_UI1 | VT_VECTOR);
289
message.
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, this.internalBuffer);
290
message.
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE, size);
291
message.
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_TYPE, VT_LPWSTR);
System\Messaging\Message.cs (264)
75
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_MSGID, new byte[MessageIdSize]);
116
properties
.SetUI2(NativeMethods.MESSAGE_PROPID_CLASS, (short)0);
119
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_ACKNOWLEDGE, (byte)0);
123
properties
.SetString(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE, new byte[DefaultQueueNameSize * 2]);
124
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN, DefaultQueueNameSize);
128
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, new byte[filter.bodySize]);
129
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE, filter.bodySize);
130
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_TYPE, 0);
134
properties
.SetString(NativeMethods.MESSAGE_PROPID_LABEL, new byte[filter.labelSize * 2]);
135
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_LABEL_LEN, filter.labelSize);
138
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_MSGID, new byte[MessageIdSize]);
141
properties
.SetUI8(NativeMethods.MESSAGE_PROPID_LOOKUPID, (long)0);
144
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)0);
148
properties
.SetString(NativeMethods.MESSAGE_PROPID_RESP_QUEUE, new byte[DefaultQueueNameSize * 2]);
149
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN, DefaultQueueNameSize);
153
properties
.SetUI2(NativeMethods.MESSAGE_PROPID_CLASS, (short)0);
157
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)0);
164
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_APPSPECIFIC, 0);
166
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_ARRIVEDTIME, 0);
168
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_TYPE, 0);
170
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_AUTHENTICATED, (byte)0);
173
properties
.SetGuid(NativeMethods.MESSAGE_PROPID_CONNECTOR_TYPE, new byte[GenericIdSize]);
175
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_CORRELATIONID, new byte[MessageIdSize]);
178
properties
.SetString(NativeMethods.MESSAGE_PROPID_PROV_NAME, new byte[DefaultCryptographicProviderNameSize * 2]);
179
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN, DefaultCryptographicProviderNameSize);
182
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_PROV_TYPE, 0);
184
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_DELIVERY, (byte)0);
187
properties
.SetString(NativeMethods.MESSAGE_PROPID_DEST_QUEUE, new byte[DefaultQueueNameSize * 2]);
188
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_DEST_QUEUE_LEN, DefaultQueueNameSize);
192
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SIGNATURE, new byte[DefaultDigitalSignatureSize]);
193
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN, DefaultDigitalSignatureSize);
196
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_ENCRYPTION_ALG, 0);
199
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_EXTENSION, new byte[filter.extensionSize]);
200
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN, filter.extensionSize);
204
properties
.SetString(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE, new byte[DefaultQueueNameSize * 2]);
205
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN, DefaultQueueNameSize);
208
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_HASH_ALG, 0);
210
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_FIRST_IN_XACT, (byte)0);
212
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_LAST_IN_XACT, (byte)0);
214
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_PRIORITY, (byte)0);
217
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDER_CERT, new byte[DefaultSenderCertificateSize]);
218
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN, DefaultSenderCertificateSize);
222
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDERID, new byte[DefaultSenderIdSize]);
223
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_LEN, DefaultSenderIdSize);
226
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENTTIME, 0);
228
properties
.SetGuid(NativeMethods.MESSAGE_PROPID_SRC_MACHINE_ID, new byte[GenericIdSize]);
231
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY, new byte[DefaultSymmetricKeySize]);
232
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN, DefaultSymmetricKeySize);
235
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_TIME_TO_BE_RECEIVED, 0);
237
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_TIME_TO_REACH_QUEUE, 0);
239
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_XACTID, new byte[MessageIdSize]);
241
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_AUTH_LEVEL, 0);
243
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_PRIV_LEVEL, 0);
245
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_TRACE, (byte)0);
247
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_VERSION, 0);
271
int res = ((int)
properties
.GetUI2(NativeMethods.MESSAGE_PROPID_CLASS)) & 0x0000FFFF;
299
return (AcknowledgeTypes)this.
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_ACKNOWLEDGE);
308
properties
.Remove(NativeMethods.MESSAGE_PROPID_ACKNOWLEDGE);
313
this.
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_ACKNOWLEDGE, (byte)value);
341
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN) != 0)
343
string queueFormatName = StringFromBytes(
properties
.GetString(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE),
344
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN));
363
properties
.Remove(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE);
364
properties
.Remove(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN);
393
return
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_APPSPECIFIC);
402
properties
.Remove(NativeMethods.MESSAGE_PROPID_APPSPECIFIC);
407
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_APPSPECIFIC, value);
432
time = time.AddSeconds(
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_ARRIVEDTIME)).ToLocalTime();
458
int type =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_TYPE);
471
properties
.Remove(NativeMethods.MESSAGE_PROPID_SENDERID_TYPE);
477
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_TYPE, NativeMethods.MESSAGE_SENDERID_TYPE_SID);
479
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_TYPE, NativeMethods.MESSAGE_SENDERID_TYPE_NONE);
505
return (
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_AUTHENTICATED) != 0);
530
if (this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN) != 0)
531
return StringFromBytes(this.
properties
.GetString(NativeMethods.MESSAGE_PROPID_PROV_NAME),
532
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN));
550
properties
.SetString(NativeMethods.MESSAGE_PROPID_PROV_NAME, StringToBytes(value));
551
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN, value.Length);
578
return (CryptographicProviderType)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_PROV_TYPE);
593
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_PROV_TYPE, (int)value);
667
this.cachedBodyStream = new MemoryStream(
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY),
668
0,
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE));
680
properties
.Remove(NativeMethods.MESSAGE_PROPID_BODY);
681
properties
.Remove(NativeMethods.MESSAGE_PROPID_BODY_TYPE);
682
properties
.Remove(NativeMethods.MESSAGE_PROPID_BODY_SIZE);
710
return this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_TYPE);
715
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_TYPE, value);
745
return new Guid(this.
properties
.GetGuid(NativeMethods.MESSAGE_PROPID_CONNECTOR_TYPE));
754
properties
.Remove(NativeMethods.MESSAGE_PROPID_CONNECTOR_TYPE);
759
properties
.SetGuid(NativeMethods.MESSAGE_PROPID_CONNECTOR_TYPE, ((Guid)value).ToByteArray());
786
return IdFromByteArray(this.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_CORRELATIONID));
798
properties
.Remove(NativeMethods.MESSAGE_PROPID_CORRELATIONID);
803
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_CORRELATIONID, IdToByteArray(value));
874
if (this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_QUEUE_LEN) != 0)
876
string queueFormatName = StringFromBytes(
properties
.GetString(NativeMethods.MESSAGE_PROPID_DEST_QUEUE),
877
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_QUEUE_LEN));
909
byte[] bytes = new byte[
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN)];
910
Array.Copy(
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY), bytes, bytes.Length);
923
properties
.Remove(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY);
924
properties
.Remove(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN);
929
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY, value);
930
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN, value.Length);
958
byte[] bytes = new byte[
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN)];
959
Array.Copy(
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_SIGNATURE), bytes, bytes.Length);
971
properties
.Remove(NativeMethods.MESSAGE_PROPID_SIGNATURE);
972
properties
.Remove(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN);
979
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SIGNATURE, value);
980
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN, value.Length);
1006
return (EncryptionAlgorithm)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_ENCRYPTION_ALG);
1020
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_ENCRYPTION_ALG, (int)value);
1049
byte[] bytes = new byte[
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN)];
1050
Array.Copy(
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_EXTENSION), bytes, bytes.Length);
1063
properties
.Remove(NativeMethods.MESSAGE_PROPID_EXTENSION);
1064
properties
.Remove(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN);
1069
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_EXTENSION, value);
1070
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN, value.Length);
1126
return (HashAlgorithm)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_HASH_ALG);
1141
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_HASH_ALG, (int)value);
1167
return IdFromByteArray(this.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_MSGID));
1191
return (
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_FIRST_IN_XACT) != 0);
1215
return (
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_LAST_IN_XACT) != 0);
1239
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_LABEL_LEN) != 0)
1240
return StringFromBytes(this.
properties
.GetString(NativeMethods.MESSAGE_PROPID_LABEL),
1241
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_LABEL_LEN));
1255
properties
.Remove(NativeMethods.MESSAGE_PROPID_LABEL);
1256
properties
.Remove(NativeMethods.MESSAGE_PROPID_LABEL_LEN);
1261
properties
.SetString(NativeMethods.MESSAGE_PROPID_LABEL, StringToBytes(value));
1262
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_LABEL_LEN, value.Length);
1289
return this.
properties
.GetUI8(NativeMethods.MESSAGE_PROPID_LOOKUPID);
1296
this.
properties
.SetUI8(NativeMethods.MESSAGE_PROPID_LOOKUPID, value);
1319
int cls =
properties
.GetUI2(NativeMethods.MESSAGE_PROPID_CLASS);
1353
return (MessagePriority)
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_PRIORITY);
1365
properties
.Remove(NativeMethods.MESSAGE_PROPID_PRIORITY);
1370
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_PRIORITY, (byte)value);
1397
return
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_DELIVERY) == NativeMethods.MESSAGE_DELIVERY_RECOVERABLE;
1406
properties
.Remove(NativeMethods.MESSAGE_PROPID_DELIVERY);
1411
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_DELIVERY, (byte)NativeMethods.MESSAGE_DELIVERY_RECOVERABLE);
1439
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN) != 0)
1441
string queueFormatName = StringFromBytes(
properties
.GetString(NativeMethods.MESSAGE_PROPID_RESP_QUEUE),
1442
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN));
1461
properties
.Remove(NativeMethods.MESSAGE_PROPID_RESP_QUEUE);
1462
properties
.Remove(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN);
1479
IntPtr handle = (IntPtr)(int)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SECURITY_CONTEXT);
1488
properties
.Remove(NativeMethods.MESSAGE_PROPID_SECURITY_CONTEXT);
1495
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SECURITY_CONTEXT, handle);
1524
byte[] bytes = new byte[
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN)];
1525
Array.Copy(
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDER_CERT), bytes, bytes.Length);
1538
properties
.Remove(NativeMethods.MESSAGE_PROPID_SENDER_CERT);
1539
properties
.Remove(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN);
1544
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDER_CERT, value);
1545
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN, value.Length);
1573
byte[] bytes = new byte[
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_LEN)];
1574
Array.Copy(
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDERID), bytes, bytes.Length);
1598
return (long)((uint)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_VERSION));
1622
time = time.AddSeconds(
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENTTIME)).ToLocalTime();
1646
byte[] bytes = this.
properties
.GetGuid(NativeMethods.MESSAGE_PROPID_SRC_MACHINE_ID);
1696
return TimeSpan.FromSeconds((uint)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_TIME_TO_BE_RECEIVED));
1712
properties
.Remove(NativeMethods.MESSAGE_PROPID_TIME_TO_BE_RECEIVED);
1717
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_TIME_TO_BE_RECEIVED, (int)((uint)timeoutInSeconds));
1746
return TimeSpan.FromSeconds((uint)
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_TIME_TO_REACH_QUEUE));
1761
properties
.Remove(NativeMethods.MESSAGE_PROPID_TIME_TO_REACH_QUEUE);
1766
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_TIME_TO_REACH_QUEUE, (int)((uint)timeoutInSeconds));
1792
return IdFromByteArray(this.
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_XACTID));
1819
if (this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN) != 0)
1821
string queueFormatName = StringFromBytes(
properties
.GetString(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE),
1822
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN));
1841
properties
.Remove(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE);
1842
properties
.Remove(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN);
1882
return (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_AUTH_LEVEL) != NativeMethods.MESSAGE_AUTHENTICATION_LEVEL_NONE);
1892
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_AUTH_LEVEL, NativeMethods.MESSAGE_AUTHENTICATION_LEVEL_NONE);
1896
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_AUTH_LEVEL, NativeMethods.MESSAGE_AUTHENTICATION_LEVEL_ALWAYS);
1922
return ((
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL) & NativeMethods.MESSAGE_JOURNAL_DEADLETTER) != 0);
1934
properties
.Remove(NativeMethods.MESSAGE_PROPID_JOURNAL);
1936
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)(
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL) & ~NativeMethods.MESSAGE_JOURNAL_DEADLETTER));
1942
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)NativeMethods.MESSAGE_JOURNAL_DEADLETTER);
1944
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)(
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL) | NativeMethods.MESSAGE_JOURNAL_DEADLETTER));
1971
return (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_PRIV_LEVEL) != NativeMethods.MESSAGE_PRIVACY_LEVEL_NONE);
1980
properties
.Remove(NativeMethods.MESSAGE_PROPID_PRIV_LEVEL);
1985
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_PRIV_LEVEL, NativeMethods.MESSAGE_PRIVACY_LEVEL_BODY);
2011
return ((
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL) & NativeMethods.MESSAGE_JOURNAL_JOURNAL) != 0);
2023
properties
.Remove(NativeMethods.MESSAGE_PROPID_JOURNAL);
2025
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)(
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL) & ~NativeMethods.MESSAGE_JOURNAL_JOURNAL));
2031
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)NativeMethods.MESSAGE_JOURNAL_JOURNAL);
2033
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL, (byte)(
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_JOURNAL) | NativeMethods.MESSAGE_JOURNAL_JOURNAL));
2062
return (
properties
.GetUI1(NativeMethods.MESSAGE_PROPID_TRACE) != NativeMethods.MESSAGE_TRACE_NONE);
2071
properties
.Remove(NativeMethods.MESSAGE_PROPID_TRACE);
2078
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_TRACE, (byte)NativeMethods.MESSAGE_TRACE_NONE);
2080
properties
.SetUI1(NativeMethods.MESSAGE_PROPID_TRACE, (byte)NativeMethods.MESSAGE_TRACE_SEND_ROUTE_TO_REPORT_QUEUE);
2091
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN);
2093
properties
.SetString(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE, new byte[size * 2]);
2098
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE);
2100
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, new byte[size]);
2105
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN);
2107
properties
.SetString(NativeMethods.MESSAGE_PROPID_PROV_NAME, new byte[size * 2]);
2112
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_QUEUE_LEN);
2114
properties
.SetString(NativeMethods.MESSAGE_PROPID_DEST_QUEUE, new byte[size * 2]);
2119
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN);
2121
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_EXTENSION, new byte[size]);
2126
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN);
2128
properties
.SetString(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE, new byte[size * 2]);
2133
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_LABEL_LEN);
2135
properties
.SetString(NativeMethods.MESSAGE_PROPID_LABEL, new byte[size * 2]);
2140
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN);
2142
properties
.SetString(NativeMethods.MESSAGE_PROPID_RESP_QUEUE, new byte[size * 2]);
2147
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN);
2149
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDER_CERT, new byte[size]);
2154
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENDERID_LEN);
2156
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDERID, new byte[size]);
2161
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN);
2163
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY, new byte[size]);
2168
int size =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN);
2170
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_SIGNATURE, new byte[size]);
2183
properties
.SetString(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE, StringToBytes(queueFormatName));
2184
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN, queueFormatName.Length);
2190
properties
.SetString(NativeMethods.MESSAGE_PROPID_RESP_QUEUE, StringToBytes(queueFormatName));
2191
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN, queueFormatName.Length);
2197
properties
.SetString(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE, StringToBytes(queueFormatName));
2198
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN, queueFormatName.Length);
2214
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, bytes);
2215
properties
.SetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE, bytes.Length);
2229
int bodySize =
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_BODY_SIZE);
2230
byte[] bodyArray =
properties
.GetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY);
2240
properties
.SetUI1Vector(NativeMethods.MESSAGE_PROPID_BODY, bytes);
2245
this.
properties
.AdjustSize(NativeMethods.MESSAGE_PROPID_EXTENSION,
2246
this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN));
2250
this.
properties
.AdjustSize(NativeMethods.MESSAGE_PROPID_SENDER_CERT,
2251
this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN));
2255
this.
properties
.AdjustSize(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY,
2256
this.
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN));
2261
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_CLASS);
2263
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_ARRIVEDTIME);
2265
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_AUTHENTICATED);
2268
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_DEST_QUEUE);
2269
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_DEST_QUEUE_LEN);
2273
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_FIRST_IN_XACT);
2275
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_LAST_IN_XACT);
2278
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_SENDERID);
2279
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_SENDERID_LEN);
2282
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_SENTTIME);
2284
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_SRC_MACHINE_ID);
2286
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_XACTID);
2288
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_VERSION);
2294
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN) == 0)
2296
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE);
2297
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN);
2304
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_ENCRYPTION_ALG);
2308
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN) == 0)
2310
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_SIGNATURE);
2311
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN);
2316
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN) == 0)
2318
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY);
2319
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN);
2324
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN) == 0)
2326
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_RESP_QUEUE);
2327
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN);
2332
if (
properties
.GetUI4(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN) == 0)
2334
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE);
2335
this.
properties
.Ghost(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN);
2401
return this.
properties
.Lock();
2432
this.
properties
.Unlock();