SPMobileMessageServiceResponse constructor (Exception)

Initializes a new instance of the SPMobileMessageServiceResponse class by using the specified exception.

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    e As Exception _
)
'Usage
Dim e As Exception

Dim instance As New SPMobileMessageServiceResponse(e)
public SPMobileMessageServiceResponse(
    Exception e
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

e is a null reference (Nothing in Visual Basic).

Remarks

When the request to the Web service throws an exception, call this constructor and pass the exception object.

See also

Reference

SPMobileMessageServiceResponse class

SPMobileMessageServiceResponse members

SPMobileMessageServiceResponse overload

Microsoft.SharePoint.MobileMessage namespace