Brecham.Obex — An OBEX library for the .NET Framework

ObexResponseException Constructor 

Initializes a new instance of the ObexResponseException class with the specified error response code, and any descriptive text returned by the peer.

[Visual Basic]
Overloads Public Sub New( _
   ByVal code As ObexResponseCode, _
   ByVal headers As ObexHeaderCollection _
)
[C#]
public ObexResponseException(
   ObexResponseCode code,
   ObexHeaderCollection headers
);

Parameters

code
One of the ObexResponseCode values; as returned by the peer.
headers
An OBEX header collection; from the response which may contain a Description header.

See Also

ObexResponseException Class | Brecham.Obex Namespace