The AsBitStream method returns a BitStream representation (serialized form) of the NBElement's hierarchy being operated on, using the given encoding, ccsid, message set, message type, message format and options.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax
Parameters
- encoding
- Type:
System Int32
The encoding to use when parsing the bit stream.A special value of 0 may be supplied to indicate that the queue manager's encoding should be used.Remarks
- ccsid
- Type:
System Int32
The coded character set identifier to use when parsing the bit stream.This parameter is mandatory. A special value of 0 may be supplied to indicate that the queue manager's ccsid should be used.Remarks
- messageSet
- Type:
System String
The message set definition used to create the element tree from the bit stream.A value of null will cause this parameter to be ignored.Remarks
- messageType
- Type:
System String
The message type definition used to create the element tree from the bit stream.A value of null will cause this parameter to be ignored.Remarks
- messageFormat
- Type:
System String
The message format definition used to create the element tree from the bit stream.A value of null will cause this parameter to be ignored.Remarks
- options
- Type: IBM.Broker.Plugin NBBitStreamControl
The NBBitStreamControl options used to generate the bit stream.
Return Value
Type:
Bitstream representation of the element and all its children.
Remarks
See Also