C# Class Tup.Utilities.Wcf.WcfServiceHost

WCF ServiceHost
TODO MQ 重试机制参考: https://msdn.microsoft.com/zh-cn/library/aa395218.aspx
Exibir arquivo Open project: tupunco/Tup.Utilities

Public Methods

Method Description
RegisterAll ( ) : void

注册并运行所有 ServiceHost

UnRegisterAll ( ) : void

取消注册 ServiceHost

Private Methods

Method Description
HandlerHostEvent ( System.ServiceModel.Description.ServiceDescription hostDescription, EventArgs e, string tag, bool isError = false ) : void

Handler ServiceHost Event

Method Details

RegisterAll() public static method

注册并运行所有 ServiceHost
public static RegisterAll ( ) : void
return void

UnRegisterAll() public static method

取消注册 ServiceHost
public static UnRegisterAll ( ) : void
return void