EmbeddedInsufficientCapacityException Constructor (EmbeddedMessage, Int32, String, Int32, Int32)
Initializes a new EmbeddedInsufficientCapacityException instance and constructs an error message from the given information.
Namespace:
com.onlineobject.objectnet.serverAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public EmbeddedInsufficientCapacityException( EmbeddedMessage message, int arrayLength, string typeName, int requiredBytes, int totalRequiredBytes )
Parameters
- message
- Type: com.onlineobject.objectnet.server..::..EmbeddedMessage
The message with insufficient remaining capacity.
- arrayLength
- Type: Int32
The length of the array which could not be added to the message.
- typeName
- Type: String
The name of the array's type.
- requiredBytes
- Type: Int32
The number of available bytes required for a single element of the array to be added successfully.
- totalRequiredBytes
- Type: Int32
The number of available bytes required for the entire array to be added successfully. If left as -1, this will be set to arrayLength * requiredBytes.