NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IServiceObjectProvider Interface

Provides a mechanism for retrieving a service object, which provides a service to other objects. Services are identified using Type objects.

IServiceObjectProvider

[Visual Basic]
Public Interface IServiceObjectProvider
[C#]
public interface IServiceObjectProvider
[C++]
public __gc __interface IServiceObjectProvider

[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.

Classes that Implement IServiceObjectProvider

Class Description
Component Provides an abstraction that enables object-sharing between applications.
CultureInfo [To be supplied.]
DateTimeFormatInfo [To be supplied.]
HttpContext Encapsulates all HTTP-specific context used by the HTTP server to process Web requests.

System.Web.IHttpModules and IHttpHandler instances are provided a reference to an appropriate HttpContext object.

MarshalByRefComponent Represents the base implementation for IComponent, which is the base for all components in WinForms. A component can be hosted in a container. For each component in a container, the container creates a site that it uses to manage the component.
NumberFormatInfo [To be supplied.]

Remarks

Currently IServiceObjectProvider is implemented by NumberFormatInfo and DateTimeFormatInfo, and in the future there will be a TimeSpanFormatInfo class that implements it.

The following classes implement IServiceObjectProvider. You might prefer to use these classes, rather than implementing IServiceObjectProvider yourself.

NumberFormatInfo: Provides locale-specific format information which is used in conjunction with the Format methods provided on the base data types.

DateTimeFormatInfo: Controls the way in which the date and time values are formatted.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

IServiceObjectProvider Members | System Namespace