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


C# IDvInvocation类代码示例

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


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

示例1: Increment

 protected override void Increment(IDvInvocation aInvocation, uint aValue, out uint aResult)
 {
     uint version = aInvocation.Version();
     if (version != 1)
         throw new Exception(String.Format("Unexpected result - {0} - from IDvInvocation.Version", version));
     aResult = aValue + 1;
 }
开发者ID:MatthewMiddleweek,项目名称:ohNet,代码行数:7,代码来源:TestBasicDv.cs

示例2: SetNextAVTransportURI

 /// <summary>
 /// SetNextAVTransportURI action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetNextAVTransportURI action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetNextAVTransportURI was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aNextURI"></param>
 /// <param name="aNextURIMetaData"></param>
 protected virtual void SetNextAVTransportURI(IDvInvocation aInvocation, uint aInstanceID, string aNextURI, string aNextURIMetaData)
 {
     throw (new ActionDisabledError());
 }
开发者ID:broonie,项目名称:ohNet,代码行数:15,代码来源:DvUpnpOrgAVTransport1.cs

示例3: GetProtocolInfo

 /// <summary>
 /// GetProtocolInfo action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// GetProtocolInfo action for the owning device.
 ///
 /// Must be implemented iff EnableActionGetProtocolInfo was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aSource"></param>
 /// <param name="aSink"></param>
 protected virtual void GetProtocolInfo(IDvInvocation aInvocation, out string aSource, out string aSink)
 {
     throw (new ActionDisabledError());
 }
开发者ID:openhome,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgConnectionManager1.cs

示例4: GetCurrentConnectionIDs

 /// <summary>
 /// GetCurrentConnectionIDs action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// GetCurrentConnectionIDs action for the owning device.
 ///
 /// Must be implemented iff EnableActionGetCurrentConnectionIDs was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aConnectionIDs"></param>
 protected virtual void GetCurrentConnectionIDs(IDvInvocation aInvocation, out string aConnectionIDs)
 {
     throw (new ActionDisabledError());
 }
开发者ID:openhome,项目名称:ohNet,代码行数:13,代码来源:DvUpnpOrgConnectionManager1.cs

示例5: SelectPreset

 /// <summary>
 /// SelectPreset action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SelectPreset action for the owning device.
 ///
 /// Must be implemented iff EnableActionSelectPreset was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aPresetName"></param>
 protected virtual void SelectPreset(IDvInvocation aInvocation, uint aInstanceID, string aPresetName)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例6: GetVolumeDBRange

 /// <summary>
 /// GetVolumeDBRange action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// GetVolumeDBRange action for the owning device.
 ///
 /// Must be implemented iff EnableActionGetVolumeDBRange was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aChannel"></param>
 /// <param name="aMinValue"></param>
 /// <param name="aMaxValue"></param>
 protected virtual void GetVolumeDBRange(IDvInvocation aInvocation, uint aInstanceID, string aChannel, out int aMinValue, out int aMaxValue)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:16,代码来源:DvUpnpOrgRenderingControl2.cs

示例7: GetVerticalKeystone

 /// <summary>
 /// GetVerticalKeystone action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// GetVerticalKeystone action for the owning device.
 ///
 /// Must be implemented iff EnableActionGetVerticalKeystone was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aCurrentVerticalKeystone"></param>
 protected virtual void GetVerticalKeystone(IDvInvocation aInvocation, uint aInstanceID, out int aCurrentVerticalKeystone)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例8: GetSharpness

 /// <summary>
 /// GetSharpness action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// GetSharpness action for the owning device.
 ///
 /// Must be implemented iff EnableActionGetSharpness was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aCurrentSharpness"></param>
 protected virtual void GetSharpness(IDvInvocation aInvocation, uint aInstanceID, out uint aCurrentSharpness)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例9: SetRedVideoGain

 /// <summary>
 /// SetRedVideoGain action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetRedVideoGain action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetRedVideoGain was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aDesiredRedVideoGain"></param>
 protected virtual void SetRedVideoGain(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredRedVideoGain)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例10: SetMute

 /// <summary>
 /// SetMute action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetMute action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetMute was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aChannel"></param>
 /// <param name="aDesiredMute"></param>
 protected virtual void SetMute(IDvInvocation aInvocation, uint aInstanceID, string aChannel, bool aDesiredMute)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:15,代码来源:DvUpnpOrgRenderingControl2.cs

示例11: SetGreenVideoBlackLevel

 /// <summary>
 /// SetGreenVideoBlackLevel action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetGreenVideoBlackLevel action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetGreenVideoBlackLevel was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aDesiredGreenVideoBlackLevel"></param>
 protected virtual void SetGreenVideoBlackLevel(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredGreenVideoBlackLevel)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例12: SetContrast

 /// <summary>
 /// SetContrast action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetContrast action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetContrast was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aDesiredContrast"></param>
 protected virtual void SetContrast(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredContrast)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例13: SetColorTemperature

 /// <summary>
 /// SetColorTemperature action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetColorTemperature action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetColorTemperature was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aDesiredColorTemperature"></param>
 protected virtual void SetColorTemperature(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredColorTemperature)
 {
     throw (new ActionDisabledError());
 }
开发者ID:Wodath,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgRenderingControl2.cs

示例14: Stop

 /// <summary>
 /// Stop action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// Stop action for the owning device.
 ///
 /// Must be implemented iff EnableActionStop was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 protected virtual void Stop(IDvInvocation aInvocation, uint aInstanceID)
 {
     throw (new ActionDisabledError());
 }
开发者ID:broonie,项目名称:ohNet,代码行数:13,代码来源:DvUpnpOrgAVTransport1.cs

示例15: SetRecordQualityMode

 /// <summary>
 /// SetRecordQualityMode action.
 /// </summary>
 /// <remarks>Will be called when the device stack receives an invocation of the
 /// SetRecordQualityMode action for the owning device.
 ///
 /// Must be implemented iff EnableActionSetRecordQualityMode was called.</remarks>
 /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param>
 /// <param name="aInstanceID"></param>
 /// <param name="aNewRecordQualityMode"></param>
 protected virtual void SetRecordQualityMode(IDvInvocation aInvocation, uint aInstanceID, string aNewRecordQualityMode)
 {
     throw (new ActionDisabledError());
 }
开发者ID:broonie,项目名称:ohNet,代码行数:14,代码来源:DvUpnpOrgAVTransport1.cs


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