SubscriberAddressCreate Method (String, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[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,
	string addressType
)

Parameters

address
Type: SystemString
The address. This parameter cannot be null or Empty.
addressType
Type: SystemString
Type of the address. This parameter cannot be null or Empty and must be possible to resolve into a SubscriberAddressType

Return Value

Type: SubscriberAddress
A SubscriberAddress representing the passed in data.
Exceptions

ExceptionCondition
ArgumentExceptionaddressType has an unsupported value.
ArgumentNullExceptionaddress or addressType cannot be null.
ArgumentOutOfRangeExceptionaddress or addressType cannot be Empty.
See Also

Reference