|
SerializationGetObject(Byte) Method
|
Note: This API is now obsolete.
Performs binary deserialization on the byte array and returns the object for it.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax[ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")]
public static Object GetObject(
byte[] serializedObject
)
<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>
Public Shared Function GetObject (
serializedObject As Byte()
) As Object
public:
[ObsoleteAttribute(L"This method will be removed in future builds, use the Deserialize() method instead.")]
static Object^ GetObject(
array<unsigned char>^ serializedObject
)
[<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>]
static member GetObject :
serializedObject : byte[] -> Object
GSF.Serialization.GetObject = function(serializedObject);
View SourceParameters
- serializedObject Byte
- A Byte array representing the object (serializedObject) to deserialize.
Return Value
ObjectAn
Object based on
serializedObject.
Exceptions
Remarks
This function will throw an error during deserialization if the input data is invalid,
consider using TryGetObject to prevent needing to implement exception handling.
See Also