WebContextBase Class
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Provides context for the application.
Inheritance Hierarchy
System.Object
System.ServiceModel.DomainServices.Client.ApplicationServices.WebContextBase
Namespace: System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
Public MustInherit Class WebContextBase _
Implements INotifyPropertyChanged, IApplicationService, IApplicationLifetimeAware
'Usage
Dim instance As WebContextBase
public abstract class WebContextBase : INotifyPropertyChanged,
IApplicationService, IApplicationLifetimeAware
public ref class WebContextBase abstract : INotifyPropertyChanged,
IApplicationService, IApplicationLifetimeAware
[<AbstractClassAttribute>]
type WebContextBase =
class
interface INotifyPropertyChanged
interface IApplicationService
interface IApplicationLifetimeAware
end
public abstract class WebContextBase implements INotifyPropertyChanged, IApplicationService, IApplicationLifetimeAware
The WebContextBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebContextBase | Initializes a new instance of the WebContextBase class. |
Top
Properties
Name | Description | |
---|---|---|
Authentication | Gets or sets the authentication context for the application. | |
Current | Gets the context that is registered as a lifetime object with the current application. | |
User | Gets a principal representing the authenticated identity. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged | Raises a PropertyChanged event. | |
RaisePropertyChanged | Raises a PropertyChanged event for the specified property. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IApplicationLifetimeAwareExited | Called by an application immediately after the Application.Exit event occurs. | |
IApplicationLifetimeAwareExiting | Called by an application immediately before the Application.Exit event occurs. | |
INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. | |
IApplicationLifetimeAwareStarted | Called by an application immediately after the Application.Startup event occurs. | |
IApplicationLifetimeAwareStarting | Called by an application immediately before the Application.Startup event occurs. | |
IApplicationServiceStartService | Starts the context as an application service. | |
IApplicationServiceStopService | Stops the context as an application service. |
Top
Remarks
This context makes services and other values available for consumption from code and XAML.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
System.ServiceModel.DomainServices.Client.ApplicationServices Namespace