- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我使用 Visual Studio 2008 开发了一个 C# WCF 客户端应用程序,它运行良好。客户端应用程序使用 wcf 包装器类并使用 WCF 服务。但是,当我使用 MonoDevelop IDE 在 Redhat Linux 6.5 中执行相同的源代码时,在创建 wcf 对象时出现以下异常。 WCF Web 服务作为 Windows 服务运行。
{System.NotImplementedException: The requested feature is not implemented. at System.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration (System.ServiceModel.Channels.Binding binding) [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/WSHttpBindingElement.cs:101 at System.ServiceModel.Configuration.StandardBindingElement.ApplyConfiguration (System.ServiceModel.Channels.Binding binding) [0x00030] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/StandardBindingElement.cs:143 at System.ServiceModel.Configuration.ConfigUtil.CreateBinding (System.String binding, System.String bindingConfiguration) [0x00053] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/ConfigUtil.cs:104 at System.ServiceModel.ChannelFactory.ApplyConfiguration (System.String endpointConfig) [0x000e9] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:156 at System.ServiceModel.ChannelFactory.InitializeEndpoint (System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00024] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:309 at System.ServiceModel.ChannelFactory
1[IMyMonitor]..ctor (System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00017] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory_1.cs:73 at System.ServiceModel.ClientBase
1[IMyMonitor].Initialize (System.ServiceModel.InstanceContext instance, System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:159 at System.ServiceModel.ClientBase1[IMyMonitor]..ctor (System.ServiceModel.InstanceContext instance, System.String endpointConfigurationName) [0x00028] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:90 at System.ServiceModel.ClientBase
1[IMyMonitor]..ctor (System.ServiceModel.InstanceContext instance) [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:79 at System.ServiceModel.ClientBase`1[IMyMonitor]..ctor () [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:54 at SenMonitorClient..ctor () [0x00000] in /mywork/myclient/wcfService.cs:1429 at myclient.start () [0x0079c] in /mywork/myclient/Program.cs:285 } System.NotImplementedException
环境: MonoDevelop 4.2.3、mono 3.4.0
感谢您的帮助。
最佳答案
WCF 支持目前仅限于 Mono,正如此处提到的 - mono-project.com/WCF WSHttpBinding 及其依赖项是没有计划支持的组件。可能您想依靠 basichttpbinding
,它应该受到支持,因为它显示 WCF 模块一直在开发中,直到 .NET 3.0 和 silverlight 2.0 子集。
关于linux - 单声道WCF客户端异常: The requested feature is not implemented,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24040489/
我想在我的 android 应用程序中播放 PCM 音频数据。网络上有很多示例,但仅用于单 channel ,我有 4 个 channel (如本问题标题所述)。 当我设置 AudioTrack au
我正在尝试通过 channelsplitter 将立体声音频路由到具有增益控制的 6 个 channel ,然后返回到 channelMerger,以控制 5.1 组的所有 6 个 channel .
我试图从 iPhone XS 的所谓立体声后置麦克风中获取两个 channel ,但在 AVAudioSession 的不同点上只能看到一个 channel 。和 AVAudioSessionPort
我是一名优秀的程序员,十分优秀!