Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor.Serialization Namespace / IPacketObjectFactory<DataObjectType,ParentObjectType> Interface / GetDataObject Method
The object that will own the newly created data object

GetDataObject Method
Called to create the wrapping data object for a packet object.
Syntax
'Declaration
 
Function GetDataObject( _
   ByVal optionalParent As ParentObjectType _
) As DataObjectType
 

Parameters

optionalParent
The object that will own the newly created data object
Remarks
For collected objects, the parent collection owner is provided in the optional parent section. Review specific usage documentation to know which format of this interface to implement for a given base data object. For example, when overriding MetricPacket you will have to implement one form, for MetricSamplePacket a different one.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also