LSDiscoveryFormContext Class
Provides the information necessary for a Web form to discover the client home realm.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Inheritance Hierarchy
System.Object
System.Web.Security.SingleSignOn.LSFormContext
System.Web.Security.SingleSignOn.LSDiscoveryFormContext
Syntax
public sealed class LSDiscoveryFormContext : LSFormContext
public ref class LSDiscoveryFormContext sealed : LSFormContext
[<Sealed>]
type LSDiscoveryFormContext =
class
inherit LSFormContext
end
Public NotInheritable Class LSDiscoveryFormContext
Inherits LSFormContext
Properties
Name | Description | |
---|---|---|
CurrentAction | Gets an LSFormAction for casting an LSFormContext object to a more specific context type.(Inherited from LSFormContext.) |
|
DiscoveryTable | A DataTable object that contains information used for data discovery. |
|
IsClientNonInteractive | Indicates whether the client is unable to respond to an interactive Web UI.(Inherited from LSFormContext.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
DisplayNameColumn | A column in a data table that contains the display name for a discoverable realm. |
|
UriColumn | A column in a data table that contains the URI for a discoverable realm. |
Remarks
The data table has two columns, "DisplayName" and "Uuid" where each row is a discoverable realm.
Examples
This is suitable for data binding, as shown in the following example:
System.Web.UI.WebControls.ListControl lc
...
lc.DataSource = ((LSDiscoveryFormContext)LSAuthenticationObject.
Current.FormContext).DiscoveryTable;
lc.DataTextField = LSDiscoveryFormContext.DisplayNameColumn;
lc.DataValueField = LSDiscoveryFormContext.UuidColumn;
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
System.Web.Security.SingleSignOn Namespace
Return to top