当前位置: 首页>>代码示例>>C#>>正文


C# CallbackAsyncComplete类代码示例

本文整理汇总了C#中CallbackAsyncComplete的典型用法代码示例。如果您正苦于以下问题:C# CallbackAsyncComplete类的具体用法?C# CallbackAsyncComplete怎么用?C# CallbackAsyncComplete使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


CallbackAsyncComplete类属于命名空间,在下文中一共展示了CallbackAsyncComplete类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BeginGetPosition

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndGetPosition().</remarks>
 /// <param name="aIndex"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginGetPosition(uint aIndex, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionGetPosition, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionGetPosition.InputParameter(inIndex++), aIndex));
     int outIndex = 0;
     invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetPosition.OutputParameter(outIndex++)));
     invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetPosition.OutputParameter(outIndex++)));
     invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetPosition.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:20,代码来源:CpOpenhomeOrgTestLights1.cs

示例2: BeginListPresets

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndListPresets().</remarks>
 /// <param name="aInstanceID"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginListPresets(uint aInstanceID, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionListPresets, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionListPresets.InputParameter(inIndex++), aInstanceID));
     int outIndex = 0;
     invocation.AddOutput(new ArgumentString((ParameterString)iActionListPresets.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:broonie,项目名称:ohNet,代码行数:18,代码来源:CpUpnpOrgRenderingControl1.cs

示例3: BeginSetBlueVideoBlackLevel

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetBlueVideoBlackLevel().</remarks>
 /// <param name="aInstanceID"></param>
 /// <param name="aDesiredBlueVideoBlackLevel"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetBlueVideoBlackLevel(uint aInstanceID, uint aDesiredBlueVideoBlackLevel, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetBlueVideoBlackLevel, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetBlueVideoBlackLevel.InputParameter(inIndex++), aInstanceID));
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetBlueVideoBlackLevel.InputParameter(inIndex++), aDesiredBlueVideoBlackLevel));
     iService.InvokeAction(invocation);
 }
开发者ID:broonie,项目名称:ohNet,代码行数:18,代码来源:CpUpnpOrgRenderingControl1.cs

示例4: BeginSetVolumeDB

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetVolumeDB().</remarks>
 /// <param name="aInstanceID"></param>
 /// <param name="aChannel"></param>
 /// <param name="aDesiredVolume"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetVolumeDB(uint aInstanceID, String aChannel, int aDesiredVolume, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetVolumeDB, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetVolumeDB.InputParameter(inIndex++), aInstanceID));
     invocation.AddInput(new ArgumentString((ParameterString)iActionSetVolumeDB.InputParameter(inIndex++), aChannel));
     invocation.AddInput(new ArgumentInt((ParameterInt)iActionSetVolumeDB.InputParameter(inIndex++), aDesiredVolume));
     iService.InvokeAction(invocation);
 }
开发者ID:broonie,项目名称:ohNet,代码行数:20,代码来源:CpUpnpOrgRenderingControl1.cs

示例5: BeginGetVerticalKeystone

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndGetVerticalKeystone().</remarks>
 /// <param name="aInstanceID"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginGetVerticalKeystone(uint aInstanceID, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionGetVerticalKeystone, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionGetVerticalKeystone.InputParameter(inIndex++), aInstanceID));
     int outIndex = 0;
     invocation.AddOutput(new ArgumentInt((ParameterInt)iActionGetVerticalKeystone.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:broonie,项目名称:ohNet,代码行数:18,代码来源:CpUpnpOrgRenderingControl1.cs

示例6: BeginResetRecordTask

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndResetRecordTask().</remarks>
 /// <param name="aRecordTaskID"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginResetRecordTask(String aRecordTaskID, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionResetRecordTask, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentString((ParameterString)iActionResetRecordTask.InputParameter(inIndex++), aRecordTaskID));
     iService.InvokeAction(invocation);
 }
开发者ID:nterry,项目名称:ohNet,代码行数:16,代码来源:CpUpnpOrgScheduledRecording2.cs

示例7: BeginSetHorizontalKeystone

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetHorizontalKeystone().</remarks>
 /// <param name="aInstanceID"></param>
 /// <param name="aDesiredHorizontalKeystone"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetHorizontalKeystone(uint aInstanceID, int aDesiredHorizontalKeystone, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetHorizontalKeystone, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetHorizontalKeystone.InputParameter(inIndex++), aInstanceID));
     invocation.AddInput(new ArgumentInt((ParameterInt)iActionSetHorizontalKeystone.InputParameter(inIndex++), aDesiredHorizontalKeystone));
     iService.InvokeAction(invocation);
 }
开发者ID:broonie,项目名称:ohNet,代码行数:18,代码来源:CpUpnpOrgRenderingControl1.cs

示例8: BeginSourceXml

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSourceXml().</remarks>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSourceXml(CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSourceXml, aCallback);
     int outIndex = 0;
     invocation.AddOutput(new ArgumentString((ParameterString)iActionSourceXml.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:15,代码来源:CpAvOpenhomeOrgProduct1.cs

示例9: BeginSourceXmlChangeCount

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSourceXmlChangeCount().</remarks>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSourceXmlChangeCount(CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSourceXmlChangeCount, aCallback);
     int outIndex = 0;
     invocation.AddOutput(new ArgumentUint((ParameterUint)iActionSourceXmlChangeCount.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:15,代码来源:CpAvOpenhomeOrgProduct1.cs

示例10: BeginSetStandby

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetStandby().</remarks>
 /// <param name="aValue"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetStandby(bool aValue, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetStandby, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentBool((ParameterBool)iActionSetStandby.InputParameter(inIndex++), aValue));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:16,代码来源:CpAvOpenhomeOrgProduct1.cs

示例11: BeginSource

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSource().</remarks>
 /// <param name="aIndex"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSource(uint aIndex, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSource, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSource.InputParameter(inIndex++), aIndex));
     int outIndex = 0;
     invocation.AddOutput(new ArgumentString((ParameterString)iActionSource.OutputParameter(outIndex++)));
     invocation.AddOutput(new ArgumentString((ParameterString)iActionSource.OutputParameter(outIndex++)));
     invocation.AddOutput(new ArgumentString((ParameterString)iActionSource.OutputParameter(outIndex++)));
     invocation.AddOutput(new ArgumentBool((ParameterBool)iActionSource.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:21,代码来源:CpAvOpenhomeOrgProduct1.cs

示例12: BeginSetSourceIndexByName

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetSourceIndexByName().</remarks>
 /// <param name="aValue"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetSourceIndexByName(String aValue, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetSourceIndexByName, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentString((ParameterString)iActionSetSourceIndexByName.InputParameter(inIndex++), aValue));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:16,代码来源:CpAvOpenhomeOrgProduct1.cs

示例13: BeginSetSourceIndex

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetSourceIndex().</remarks>
 /// <param name="aValue"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetSourceIndex(uint aValue, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetSourceIndex, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetSourceIndex.InputParameter(inIndex++), aValue));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:16,代码来源:CpAvOpenhomeOrgProduct1.cs

示例14: BeginSetColor

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndSetColor().</remarks>
 /// <param name="aIndex"></param>
 /// <param name="aColor"></param>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginSetColor(uint aIndex, uint aColor, CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionSetColor, aCallback);
     int inIndex = 0;
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetColor.InputParameter(inIndex++), aIndex));
     invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetColor.InputParameter(inIndex++), aColor));
     iService.InvokeAction(invocation);
 }
开发者ID:wifigeek,项目名称:ohNet,代码行数:18,代码来源:CpOpenhomeOrgTestLights1.cs

示例15: BeginGetSortCapabilities

 /// <summary>
 /// Invoke the action asynchronously
 /// </summary>
 /// <remarks>Returns immediately and will run the client-specified callback when the action
 /// later completes.  Any output arguments can then be retrieved by calling
 /// EndGetSortCapabilities().</remarks>
 /// <param name="aCallback">Delegate to run when the action completes.
 /// This is guaranteed to be run but may indicate an error</param>
 public void BeginGetSortCapabilities(CallbackAsyncComplete aCallback)
 {
     Invocation invocation = iService.Invocation(iActionGetSortCapabilities, aCallback);
     int outIndex = 0;
     invocation.AddOutput(new ArgumentString((ParameterString)iActionGetSortCapabilities.OutputParameter(outIndex++)));
     invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetSortCapabilities.OutputParameter(outIndex++)));
     iService.InvokeAction(invocation);
 }
开发者ID:nterry,项目名称:ohNet,代码行数:16,代码来源:CpUpnpOrgScheduledRecording2.cs


注:本文中的CallbackAsyncComplete类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。