CALicense::NewCAEngine

This page is a translated version of the page CALicense::NewCAEngine and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CALicense

Other languages:
English • ‎中文

CAEngine* NewCAEngine()

尝试建立CAEngine实例。如果不可以,可能由于你的ADE决策引擎许可证受限,通过设定ErrorCodeErrorText属性指明失败的原因。

参 数

返回值

新近建立的CAEngine,或者失败时返回null(空值)。

示例

在C#中

CALicense lic = new ADE.CALicense();
CAEngine ade = lic.NewCAEngine();
if (ade==null) {
   Console.Write("ADE could not be launched because ");
   Console.WriteLine(lic.ErrorText);
   return;
} 
...

另请参考

Comments


You are not allowed to post comments.