Server.ServerStartup.Main C# (CSharp) Méthode

Main() private méthode

private Main ( string args ) : void
args string
Résultat void
		static void Main (string [] args)
		{
			HttpChannel chnl = new HttpChannel (1237);
#if NET_2_0
			ChannelServices.RegisterChannel (chnl, false);
#else
			ChannelServices.RegisterChannel (chnl);
#endif

			RemotingConfiguration.RegisterWellKnownServiceType (typeof (MyRemoteObject), "MyRemoteObject.soap", WellKnownObjectMode.Singleton);
			Console.ReadLine ();
		}
	}
ServerStartup