Click or drag to resize
CampaignAssetUrlInfoHelperGetCampaignAssetUrlInfoFullUri Method
Returns Uri created from site's SitePresentationURL and urlAsset's CampaignAssetUrlTarget.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 12.0.0
Syntax
C#
public static Uri GetCampaignAssetUrlInfoFullUri(
	CampaignAssetUrlInfo urlAsset,
	SiteInfo site = null
)

Parameters

urlAsset
Type: CMS.WebAnalyticsCampaignAssetUrlInfo
CampaignAssetUrlInfo to get CampaignAssetUrlTarget.
site (Optional)
Type: CMS.SiteProviderSiteInfo
SiteInfo to generate URL, if not supplied, then CurrentSite is used.

Return Value

Type: Uri
Exceptions
ExceptionCondition
UriFormatException If urlAsset's CampaignAssetUrlTarget is not normalized or site's SitePresentationURL is not correctly set.
See Also