60 references to SetUI4
System.Messaging (60)
System\Messaging\ActiveXMessageFormatter.cs (6)
261
message.properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_SIZE, size);
262
message.properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_TYPE, VT_LPWSTR);
274
message.properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_SIZE, bytes.Length);
275
message.properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_TYPE, VT_UI1 | VT_VECTOR);
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 (48)
124
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN, DefaultQueueNameSize);
129
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_SIZE, filter.bodySize);
130
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_TYPE, 0);
135
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_LABEL_LEN, filter.labelSize);
149
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN, DefaultQueueNameSize);
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);
179
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN, DefaultCryptographicProviderNameSize);
182
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_PROV_TYPE, 0);
188
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_DEST_QUEUE_LEN, DefaultQueueNameSize);
193
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN, DefaultDigitalSignatureSize);
196
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_ENCRYPTION_ALG, 0);
200
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN, filter.extensionSize);
205
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN, DefaultQueueNameSize);
208
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_HASH_ALG, 0);
218
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN, DefaultSenderCertificateSize);
223
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SENDERID_LEN, DefaultSenderIdSize);
226
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SENTTIME, 0);
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);
241
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_AUTH_LEVEL, 0);
243
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_PRIV_LEVEL, 0);
247
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_VERSION, 0);
407
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_APPSPECIFIC, value);
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);
551
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_PROV_NAME_LEN, value.Length);
593
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_PROV_TYPE, (int)value);
715
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_TYPE, value);
930
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY_LEN, value.Length);
980
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SIGNATURE_LEN, value.Length);
1020
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_ENCRYPTION_ALG, (int)value);
1070
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_EXTENSION_LEN, value.Length);
1141
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_HASH_ALG, (int)value);
1262
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_LABEL_LEN, value.Length);
1495
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SECURITY_CONTEXT, handle);
1545
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_SENDER_CERT_LEN, value.Length);
1717
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_TIME_TO_BE_RECEIVED, (int)((uint)timeoutInSeconds));
1766
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_TIME_TO_REACH_QUEUE, (int)((uint)timeoutInSeconds));
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);
1985
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_PRIV_LEVEL, NativeMethods.MESSAGE_PRIVACY_LEVEL_BODY);
2184
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_ADMIN_QUEUE_LEN, queueFormatName.Length);
2191
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_RESP_QUEUE_LEN, queueFormatName.Length);
2198
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_XACT_STATUS_QUEUE_LEN, queueFormatName.Length);
2215
properties.
SetUI4
(NativeMethods.MESSAGE_PROPID_BODY_SIZE, bytes.Length);
System\Messaging\MessageQueue.cs (6)
583
Properties.
SetUI4
(NativeMethods.QUEUE_PROPID_PRIV_LEVEL, 0);
597
Properties.
SetUI4
(NativeMethods.QUEUE_PROPID_PRIV_LEVEL, (int)value);
865
Properties.
SetUI4
(NativeMethods.QUEUE_PROPID_JOURNAL_QUOTA, 0);
880
Properties.
SetUI4
(NativeMethods.QUEUE_PROPID_JOURNAL_QUOTA, (int)((uint)value));
903
Properties.
SetUI4
(NativeMethods.QUEUE_PROPID_QUOTA, 0);
918
Properties.
SetUI4
(NativeMethods.QUEUE_PROPID_QUOTA, (int)((uint)value));