Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFDeliveryChannel.ContactPropertyAttribute Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFDeliveryChannel.ContactPropertyAttribute Class
Attribute used on an AFDeliveryChannel to specify linked properties of an AFContact.

Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public method
AFDeliveryChannelContactPropertyAttribute
Initializes a new instance of the AFDeliveryChannelContactPropertyAttribute class.

Properties

  NameDescription
Public property
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public property
Value
Gets a value that specifies the AFContact properties that are linked to the AFDeliveryChannel.

Methods

  NameDescription
Public method
Equals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public method
GetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
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.)
Public method
Match
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public method
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.

Version Information

AFSDK


See Also

TitleResults for “How to create a CRG?”Also Available in