Click or drag to resize

SelfHostingService Methods

The SelfHostingService type exposes the following members.

Methods
  Name Description
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public method Dispose Releases all the resources used by the Adapter.
(Inherited from Adapter)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the web service and optionally releases the managed resources.
(Overrides AdapterDispose(Boolean))
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Releases the unmanaged resources before the Adapter is reclaimed by GC.
(Inherited from Adapter)
Public method GetFlashPolicy Gets policy stream for Flash applications.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method GetServiceAddress Gets an address where the ServiceHost will host the service.
Public method GetSilverlightPolicy Gets policy stream for Silverlight applications.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method GetUnusedPort Get an unused port number.
Public method Initialize Initializes the web service.
(Overrides AdapterInitialize)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method InitializeServiceHost Initializes the ServiceHost.
Public method LoadSettings Loads saved web service settings from the config file if the PersistSettings property is set to true.
(Overrides AdapterLoadSettings)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected method OnDisposed Raises the Disposed event.
(Inherited from Adapter)
Protected method OnExecutionException Raises the ExecutionException event.
(Inherited from Adapter)
Protected method OnServiceHostCreated Raises the ServiceHostCreated event.
Protected method OnServiceHostStarted Raises the ServiceHostStarted event.
Protected method OnServiceProcessException Raises the ServiceProcessException event.
Protected method OnStatusUpdate Raises the StatusUpdate event.
(Inherited from Adapter)
Public method SaveSettings Saves web service settings to the config file if the PersistSettings property is set to true.
(Overrides AdapterSaveSettings)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also