Compartilhar via


WebDomainClient<TContract>.UsesHttps Property

[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 a value that indicates whether a secure connection should be used.

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

Syntax

'Declaration
Public ReadOnly Property UsesHttps As Boolean
    Get
'Usage
Dim instance As WebDomainClient
Dim value As Boolean

value = instance.UsesHttps
public bool UsesHttps { get; }
public:
property bool UsesHttps {
    bool get ();
}
member UsesHttps : bool
function get UsesHttps () : boolean

Property Value

Type: System.Boolean
true if a secure connection should be used; otherwise, false.

See Also

Reference

WebDomainClient<TContract> Class

System.ServiceModel.DomainServices.Client Namespace