Tries to deserialize from the specified file.

Namespace: Cudafy
Assembly: Cudafy (in Cudafy.dll) Version: 1.0.4106.20170

Syntax

C#
public static CudafyModule TryDeserialize(
	string filename,
	out string errorMsg
)
Visual Basic
Public Shared Function TryDeserialize ( _
	filename As String, _
	<OutAttribute> ByRef errorMsg As String _
) As CudafyModule
Visual C++
public:
static CudafyModule^ TryDeserialize(
	String^ filename, 
	[OutAttribute] String^% errorMsg
)

Parameters

filename
Type: System..::..String
The filename.
errorMsg
Type: System..::..String%
The error message if fails, else empty string.

Return Value

Cudafy module or null if failed.

See Also