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

ObexResponseException.ErrorMsgPrefixUnexpectedResponseCode Field

The prefix on the exception message.

[Visual Basic]
Public Const ErrorMsgPrefixUnexpectedResponseCode As String = "Unexpected OBEX response code: "
[C#]
public const string ErrorMsgPrefixUnexpectedResponseCode = "Unexpected OBEX response code: ";

Remarks

The prefix on the exception message. Example messages are as the following.

Unexpected OBEX response code: 0xC0 (BadRequest).
Unexpected OBEX response code: 0xD1 (NotImplemented).
Unexpected OBEX response code: 0xD2 (210).
Unexpected OBEX response code: 0x39 (57), Reason: GET operation not supported.
Note in the latter examples we don't recognise the response code value and thus have not provided a textual translation, and in the last the peer supplied a reason message in a description header.

See Also

ObexResponseException Class | Brecham.Obex Namespace