Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
A SubscriberAddress representing the passed in data.
[This is preliminary documentation and is subject to change.]
Creates a new instance of the SubscriberAddress class.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public static SubscriberAddress Create( string address, SubscriberAddressType addressType )
Parameters
- address
- Type: SystemString
The address. This parameter cannot be null or Empty. - addressType
- Type: ContentStudio.Document.SubscriptionSubscriberAddressType
Type of the address.
Return Value
Type: SubscriberAddressA SubscriberAddress representing the passed in data.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | address or addressType cannot be null. |
ArgumentOutOfRangeException | address or addressType cannot be Empty. |
InvalidEnumArgumentException | addressType has an unsupported value. |
See Also