|
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.260-beta+0f4e919571e6ec7e8e07a8e325416284b7e38fa3
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 Objectpublic:
[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