Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebContextBase Class

WebContextBase Class

WCF RIA Services

[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.

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)

public abstract class WebContextBase : INotifyPropertyChanged, 
	IApplicationService, IApplicationLifetimeAware

The WebContextBase type exposes the following members.

  NameDescription
Protected methodWebContextBaseInitializes a new instance of the WebContextBase class.
Top

  NameDescription
Public propertyAuthenticationGets or sets the authentication context for the application.
Public propertyStatic memberCurrentGets the context that is registered as a lifetime object with the current application.
Protected propertyUserGets a principal representing the authenticated identity.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnPropertyChangedRaises a PropertyChanged event.
Protected methodRaisePropertyChangedRaises a PropertyChanged event for the specified property.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIApplicationLifetimeAwareExitedCalled by an application immediately after the Application.Exit event occurs.
Explicit interface implemetationPrivate methodIApplicationLifetimeAwareExitingCalled by an application immediately before the Application.Exit event occurs.
Explicit interface implemetationPrivate eventINotifyPropertyChanged.PropertyChangedOccurs when a property value changes.
Explicit interface implemetationPrivate methodIApplicationLifetimeAwareStartedCalled by an application immediately after the Application.Startup event occurs.
Explicit interface implemetationPrivate methodIApplicationLifetimeAwareStartingCalled by an application immediately before the Application.Startup event occurs.
Explicit interface implemetationPrivate methodIApplicationServiceStartServiceStarts the context as an application service.
Explicit interface implemetationPrivate methodIApplicationServiceStopServiceStops the context as an application service.
Top

This context makes services and other values available for consumption from code and XAML.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft