|
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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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