C# DnsEndpointIdentity导致运行时错误System.NotImplementedException
我正在尝试在Xamarin.iOS客户端和现有SOAP服务之间建立网络连接。为此,我必须在客户端预见服务的DNS标识。相应的命令是:C# DnsEndpointIdentity导致运行时错误System.NotImplementedException,c#,xamarin.ios,C#,Xamarin.ios,我正在尝试在Xamarin.iOS客户端和现有SOAP服务之间建立网络连接。为此,我必须在客户端预见服务的DNS标识。相应的命令是: DnsEndpointIdentity identity= new DnsEndpointIdentity("HelloWorldService"); 不幸的是,该命令导致运行时错误“System.NotImplementedException:该方法或操作未实现。”。该错误是由分配“HelloWorldService”引起的 对象DnsEndpointId
DnsEndpointIdentity identity= new DnsEndpointIdentity("HelloWorldService");
不幸的是,该命令导致运行时错误“System.NotImplementedException:该方法或操作未实现。”。该错误是由分配“HelloWorldService”引起的
对象DnsEndpointIdentity属于assembly System.ServiceModel,它在版本2.0.5.0中可用于iOS
对我来说一切都很好,我不知道出了什么问题
我可以请你帮我吗
多谢各位
Stefan在Xamarin的大多数情况下,如果您遇到“System.NotImplementedException:该方法或操作未实现”。这意味着它尚未在Xamarin.iOS的当前版本中实现。不幸的是,这是围绕SOAP服务的一个非常常见的问题,尤其是我使用的WCF服务。很多时候,它需要创建用于身份验证的自定义头。但这同样取决于什么对你有效