C# Класс IServiceOriented.ServiceBus.Listeners.WcfServiceHostFactory

Creates WCF service hosts. Used by WcfListener.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateHost ( ServiceBusRuntime runtime, Type contractType, Type implementationType, string configurationName, string address ) : System.ServiceModel.ServiceHost

Dynamically generate a service host

CreateImplementationType ( Type interfaceType ) : Type

Dynamically generate a service implementation type for use with a ServiceHost

VerifyContract ( Type contractType ) : void

Приватные методы

Метод Описание
definePublishOverride ( Type interfaceType, TypeBuilder typeBuilder, MethodInfo methodInfo, string action ) : void

Описание методов

CreateHost() публичный статический Метод

Dynamically generate a service host
public static CreateHost ( ServiceBusRuntime runtime, Type contractType, Type implementationType, string configurationName, string address ) : System.ServiceModel.ServiceHost
runtime ServiceBusRuntime
contractType System.Type
implementationType System.Type
configurationName string
address string
Результат System.ServiceModel.ServiceHost

CreateImplementationType() публичный статический Метод

Dynamically generate a service implementation type for use with a ServiceHost
public static CreateImplementationType ( Type interfaceType ) : Type
interfaceType System.Type
Результат System.Type

VerifyContract() публичный статический Метод

public static VerifyContract ( Type contractType ) : void
contractType System.Type
Результат void