RemoveContactFromMarketingListByEmailRequest Class

 

Applies To: Dynamics Marketing

Contains the data that’s needed to remove a contact from 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

System.Object
  Microsoft.Dynamics.Marketing.SDK.Common.SdkMessage
    Microsoft.Dynamics.Marketing.SDK.Common.SdkRequest
      Microsoft.Dynamics.Marketing.SDK.Messages.MarketingList.RemoveContactFromMarketingListByEmailRequest

Syntax

[DataContractAttribute]
public class RemoveContactFromMarketingListByEmailRequest : SdkRequest
[DataContractAttribute]
public ref class RemoveContactFromMarketingListByEmailRequest : SdkRequest
[<DataContractAttribute>]
type RemoveContactFromMarketingListByEmailRequest = 
    class
        inherit SdkRequest
    end
<DataContractAttribute>
Public Class RemoveContactFromMarketingListByEmailRequest
    Inherits SdkRequest

Constructors

Name Description
System_CAPS_pubmethod RemoveContactFromMarketingListByEmailRequest()

Initializes a new instance of the RemoveContactFromMarketingListByEmailRequest class.

Properties

Name Description
System_CAPS_pubproperty ContactEmail

Gets or sets the contact email address to remove from the marketing list.

System_CAPS_pubproperty MarketingListId

Gets or sets the ID of the marketing list to remove the email from.

Methods

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 request to a string representation.(Overrides Object.ToString().)

Remarks

If two contacts in the list have the same email address, only one of the contacts is removed.

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

RemoveContactFromMarketingListByEmailResponse
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