Export (0) Print
Expand All

WebAuthenticationService.DomainContextType Property

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

Gets or sets the type of the domain context.

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)

public string DomainContextType { get; set; }

Property Value

Type: System.String
The type of the domain context.

ExceptionCondition
InvalidOperationException

The service is already started.

If the DomainContext is not set when this service is started, the WebAuthenticationService class instantiates a context specified by the DomainContextType. In determining the type, this property is treated as the full name of a type in the application assembly. If the initial search does not return a valid type, this string is treated as the assembly qualified name of a type.

Show:
© 2014 Microsoft