|
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.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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