Click or drag to resize

DataService Methods

The DataService 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.
(Inherited from SelfHostingService)
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.
(Inherited from SelfHostingService)
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.
(Inherited from SelfHostingService)
Public method GetSilverlightPolicy Gets policy stream for Silverlight applications.
(Inherited from SelfHostingService)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method GetUnusedPort Get an unused port number.
(Inherited from SelfHostingService)
Public method Initialize Initializes the web service.
(Inherited from SelfHostingService)
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.
(Inherited from SelfHostingService)
Public method LoadSettings Loads saved web service settings from the config file if the PersistSettings property is set to true.
(Overrides SelfHostingServiceLoadSettings)
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.
(Overrides SelfHostingServiceOnServiceHostCreated)
Protected method OnServiceHostStarted Raises the ServiceHostStarted event.
(Inherited from SelfHostingService)
Protected method OnServiceProcessException Raises the ServiceProcessException event.
(Inherited from SelfHostingService)
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 SelfHostingServiceSaveSettings)
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