Notification.Properties Property
Gets the properties that are associated with the Notification object.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications
Assembly: CoreProviders (in CoreProviders.dll)
Syntax
[DataMemberAttribute]
public IDictionary<string, object> Properties { get; private set; }
public:
[DataMemberAttribute]
property IDictionary<String^, Object^>^ Properties {
IDictionary<String^, Object^>^ get();
private: void set(IDictionary<String^, Object^>^ value);
}
<DataMemberAttribute>
Public Property Properties As IDictionary(Of String, Object)
Get
Private Set
End Property
Property Value
Type: System.Collections.Generic.IDictionary<String, Object>
A IDictionary<TKey, TValue> that contains the properties.
Remarks
The following table lists the properties that can be associated with the notification:
Type |
Name |
---|---|
Scalar |
|
Vector |
|
If you add reference-type objects to the Properties dictionary, you can modify the objects after you create the notification. If you do this, the changes are visible to other subscribers in the same process, but not in other processes. You should not modify reference-type objects after adding them to the Properties dictionary, because unexpected and difficult-to-debug behavior can be the result. Instead, replace reference-type values with new values.
See Also
Notification Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications Namespace
Return to top