[英]Mono - missing Socket.Bind and other methods
I need to rewrite my Visual Studio project in Xamarin Studio(Gtk#), but I havent some methods in Xamarin like: System.Net.Sockets.Socket.Bind, Thread.SetApartmentState. 我需要在Xamarin Studio(Gtk#)中重写我的Visual Studio项目,但是我在Xamarin中没有一些方法,例如:System.Net.Sockets.Socket.Bind,Thread.SetApartmentState。 And I think this isn't full list. 而且我认为这还不完整。 How to use my Visual Studio methods in Xamarin or quick rewrite project? 如何在Xamarin或快速重写项目中使用Visual Studio方法? Thanks! 谢谢!
Obviously Mono supports both Socket.Bind
and Thread.SetApartmentState
, 显然,Mono支持Socket.Bind
和Thread.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/System/System.Net.Sockets/Socket.cs
https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Threading/Thread.cs https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Threading/Thread.cs
So you need to review which project type you use in Xamarin Studio, and what kind of references you use. 因此,您需要查看Xamarin Studio中使用的项目类型以及使用的引用类型。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.