AFDeliveryChannel.ContactPropertyAttribute Class
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
Attribute used on an AFDeliveryChannel to specify linked properties of an
AFContact.
Inheritance Hierarchy
SystemObject
SystemAttribute
OSIsoft.AF.NotificationAFDeliveryChannelContactPropertyAttribute
SystemAttribute
OSIsoft.AF.NotificationAFDeliveryChannelContactPropertyAttribute
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public sealed class ContactPropertyAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := true, AllowMultiple := false)> Public NotInheritable Class ContactPropertyAttribute Inherits Attribute Dim instance As AFDeliveryChannel.ContactPropertyAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = false)] public ref class ContactPropertyAttribute sealed : public Attribute
[<SealedAttribute>] [<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)>] type ContactPropertyAttribute = class inherit Attribute end
The AFDeliveryChannelContactPropertyAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFDeliveryChannelContactPropertyAttribute |
Initializes a new instance of the AFDeliveryChannelContactPropertyAttribute class.
|
Properties
| Name | Description | |
|---|---|---|
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
| Value |
Gets a value that specifies the AFContact properties that are linked
to the AFDeliveryChannel.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
This attribute would be used by someone implementing an AFDeliveryChannel.
The class implementation which inherits from AFDeliveryChannel would be marked
with this attribute to specify the linked properties to an AFContact.
Examples
This example specifies that the AFDeliveryChannel is linked to the
BusinessPhone and HomePhone properties
of an AFContact.
[AFDeliveryChannel.ContactProperty("BusinessPhone;HomePhone")] public class MyDeliveryChannel : AFDeliveryChannel { }
<AFDeliveryChannel.ContactProperty("BusinessPhone;HomePhone")> _ Public Class MyDeliveryChannel Inherits AFDeliveryChannel End Class
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.