SdkErrorResponse Class

 

Applies To: Dynamics Marketing

Contains the error response from the SDK service.

Namespace:   Microsoft.Dynamics.Marketing.SDK.Messages
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.SdkResponse
      Microsoft.Dynamics.Marketing.SDK.Messages.SdkErrorResponse

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod SdkErrorResponse()

Initializes a new instance of the SdkErrorResponse class.

Properties

Name Description
System_CAPS_pubproperty Message

Gets or sets the response message.(Inherited from SdkResponse.)

System_CAPS_pubproperty MessageDetails

Gets or sets the detailed message about the error that occurred in the SDK service.

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)

Converts the SDK response message to a brokered message.(Inherited from SdkResponse.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This is a response that all requests that inherit from SdkRequest can return if processing of the message fails. The SdkErrorResponse is most common when the SDK isn’t set up properly or some data is missing in the sent request.

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 Namespace
Sample: Manage lists and send transactional or commercial email
Sample: Work with marketing lists

Return to top