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

ObexCreateTooLongException Class

[This is preliminary documentation and subject to change.]

The exception that is thrown when creating a PDU that is too long for the buffer. It is thrown by ObexPduFactory.Create and its overloads.

For a list of all members of this type, see ObexCreateTooLongException Members.

System.Object
   System.Exception
      Brecham.Obex.Pdus.ObexCreateTooLongException

[Visual Basic]
Public Class ObexCreateTooLongException
    Inherits Exception
[C#]
public class ObexCreateTooLongException : Exception

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

See ObexPduFactory.Create for more detail but an error is only produced when not even the first header will not fit in the PDU buffer. Otherwise as many header as possible are added, the PDU is returned, and then another PDU can be created with the remaining headers.

Requirements

Namespace: Brecham.Obex.Pdus

Assembly: Brecham.Obex (in Brecham.Obex.dll)

See Also

ObexCreateTooLongException Members | Brecham.Obex.Pdus Namespace