Click or drag to resize

RuntimeManagerLoad Method (String)

Loads a PTX or an OTX file.

Namespace:  OpenTestSystem.Otx.Runtime.Api
Assembly:  OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax
public void Load(
	string fileName
)

Parameters

fileName
Type: SystemString
The path of ptx or otx file to load.

Implements

IRuntimeManagerLoad(String)
Exceptions
ExceptionCondition
ArgumentExceptionFilename is an empty string ("").
ArgumentNullExceptionFilename is null.
FileNotFoundExceptionThe file cannot be found.
Examples
Simple sample which loads a PTX file.
C#
static class Program
{
    static void Main()
    { 
        RuntimeManager rt = new RuntimeManager();
        rt.Load("C:\\Sample.ptx");
    } 
}
See Also