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