单声道 - 缺少Socket.Bind等方法

时间:2014-02-10 00:56:50

标签: c# mono xamarin gtk#

我需要在Xamarin Studio(Gtk#)中重写我的Visual Studio项目,但我在Xamarin中没有一些方法: System.Net.Sockets.Socket.Bind,Thread.SetApartmentState。 我认为这不是完整的清单。 如何在Xamarin或快速重写项目中使用我的Visual Studio方法? 谢谢!

1 个答案:

答案 0 :(得分:3)

显然,Mono支持Socket.BindThread.SetApartmentState

https://github.com/mono/mono/blob/master/mcs/class/System/System.Net.Sockets/Socket.cs

https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Threading/Thread.cs

因此,您需要查看在Xamarin Studio中使用的项目类型,以及您使用的引用类型。

相关问题