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.