AddContactToMarketingListByEmailRequest Class


Applies To: Dynamics Marketing

Contains the data that’s needed to add a contact to a marketing list by the contact’s email address.

Namespace:   Microsoft.Dynamics.Marketing.SDK.Messages.MarketingList
Assembly:  Microsoft.Dynamics.Marketing.SDK (in Microsoft.Dynamics.Marketing.SDK.dll)

Inheritance Hierarchy



public class AddContactToMarketingListByEmailRequest : SdkRequest
public ref class AddContactToMarketingListByEmailRequest : SdkRequest
type AddContactToMarketingListByEmailRequest = 
        inherit SdkRequest
Public Class AddContactToMarketingListByEmailRequest
    Inherits SdkRequest


Name Description
System_CAPS_pubmethod AddContactToMarketingListByEmailRequest()

Initializes a new instance of the AddContactToMarketingListByEmailRequest class.


Name Description
System_CAPS_pubproperty ContactEmail

Gets or sets the contact email.

System_CAPS_pubproperty MarketingListId

Gets or sets the marketing list ID.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod ToBrokeredMessage()

Creates a new brokered message with the compressed and serialized SdkMessage.(Inherited from SdkMessage.)

System_CAPS_pubmethod ToBrokeredMessage(String)

Creates a new brokered message with the compressed and serialized SdkMessage.(Inherited from SdkRequest.)

System_CAPS_pubmethod ToString()

Converts the details of response to a string representation.(Overrides Object.ToString().)


If the email address doesn’t exist in the system as the email address of a contact, the add request will fail.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Dynamics.Marketing.SDK.Messages.MarketingList Namespace
Developer overview of Microsoft Dynamics Marketing
Introduction to marketing entities
Getting started with the SDK
Quick start with sample code
Sample: Work with marketing lists
Assembly included in the Microsoft Dynamics Marketing SDK
Web service and assembly reference

Return to top