Table of Contents

Class VonageSmsResponseException

Namespace
Vonage.Messaging
Assembly
Vonage.dll

Exception thrown when an SMS send request fails or returns a non-zero status code. Check the Response property for detailed error information.

public class VonageSmsResponseException : VonageException, ISerializable
Inheritance
VonageSmsResponseException
Implements
Inherited Members

Constructors

VonageSmsResponseException(string)

Initializes a new instance of the VonageSmsResponseException class.

public VonageSmsResponseException(string message)

Parameters

message string

The error message describing the failure.

Properties

Response

Gets or sets the full SMS response that caused the exception. Contains error details in Messages.

public SendSmsResponse Response { get; set; }

Property Value

SendSmsResponse