提交 d9490624 编写于 作者: X xleili

docs(cloud):C# suppply cloud in/out doc and fix ivavalid path

上级 4d598231
```csharp
// {{#include docs/examples/csharp/SubscribeDemo.cs}}
{{#include docs/examples/csharp/native-example/SubscribeDemo.cs}}
```
\ No newline at end of file
using System;
using System;
using TDengineDriver;
using TDengineWS.Impl;
using System.Collections.Generic;
......@@ -45,7 +45,7 @@ namespace Cloud.Examples
}
// ANCHOR_END: insert
string selectTable = "select * from test.meters";
IntPtr res = LibTaosWS.WSQueryTimeout(conn, selectTable, 5000);
res = LibTaosWS.WSQueryTimeout(conn, selectTable, 5000);
ValidQueryExecution(res);
// get meta info of the retrieved data as List
......@@ -68,13 +68,6 @@ namespace Cloud.Examples
{
throw new Exception($"get connection failed,reason:{LibTaosWS.WSErrorStr(conn)},code:{LibTaosWS.WSErrorNo(conn)}");
}
sum(1, 2);
void sum(int i, int j)
{
Console.WriteLine("{0} + {1} = {2}", i, j, i + j);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册