Click or drag to resize

SelfHostingService Properties

The SelfHostingService type exposes the following members.

Properties
  Name Description
Public property AllowCrossDomainAccess Gets or sets flag that indicates if web services will enable cross-domain access for Silverlight and Flash applications.
Public property AllowedDomainList Gets or sets comma separated list of allowed domains when AllowCrossDomainAccess is true. Use * for domain wildcards, e.g., *.consoto.com.
Public property AutomaticFormatSelectionEnabled Gets or sets a value that determines if automatic format selection is enabled for Web HTTP bindings.
Public property ContractInterface Gets or sets the FullName of the contract interface implemented by the web service.
Public property DefaultOutgoingRequestFormat Gets and sets the default outgoing request format for Web HTTP bindings.
Public property DefaultOutgoingResponseFormat Gets and sets the default outgoing response format for Web HTTP bindings.
Public property Domain Gets the AppDomain in which the Adapter is executing.
(Inherited from Adapter)
Public property Enabled Gets or sets a boolean value that indicates whether the web service is currently enabled.
(Overrides AdapterEnabled)
Public property Endpoints Gets or sets a semicolon delimited list of URIs where the web service can be accessed.
Public property FaultExceptionEnabled Gets or sets the flag that specifies whether a FaultException is generated when an internal server error(HTTP status code: 500) occurs for Web HTTP bindings.
Public property HostFile Gets or sets the path to the file where the Adapter is housed.
(Inherited from Adapter)
Public property IsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from Adapter)
Public property JsonFaultHandlingEnabled Gets or sets a value that determines if JSON formatted fault messages should be returned during exceptions.
Public property MemoryUsage Gets the memory utilization of the Adapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from Adapter)
Public property Name Gets the unique identifier of the Adapter.
(Inherited from Adapter)
Public property PersistSettings Gets or sets a boolean value that indicates whether Adapter settings are to be saved to the config file.
(Inherited from Adapter)
Public property ProcessorUsage Gets the % processor utilization of the Adapter if executing in a separate AppDomain otherwise NaN.
(Inherited from Adapter)
Public property PublishMetadata Gets or sets a boolean value that indicates whether web service metadata is to made available at all web service Endpoints.
Public property SecurityPolicy Gets or sets the FullName of IAuthorizationPolicy to be used for securing all web service Endpoints.
Public property ServiceEnabled Gets or sets a boolean value that indicates whether the web service is to be enabled at startup.
Public property ServiceHost Gets the WebServiceHost hosting the web service.
Public property SettingsCategory Gets or sets the category under which Adapter settings are to be saved to the config file if the PersistSettings property is set to true.
(Inherited from Adapter)
Public property Singleton Gets or sets a boolean value that indicates whether the ServiceHost will use the current instance of the web service for processing requests or base the web service instance creation on InstanceContextMode specified in its ServiceBehaviorAttribute.
Public property Status Gets the descriptive status of the Adapter.
(Inherited from Adapter)
Public property TypeName Gets or sets the text representation of the Adapter's TypeName.
(Inherited from Adapter)
Public property WindowsAuthentication Gets or sets a boolean value that indicates whether Windows Authentication is to be enabled.
Top
See Also