Scheme Property
Collapse the table of content
Expand the table of content

BasicHttpBinding.Scheme Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the URI transport scheme for the channels and listeners that are configured with this binding.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Overrides ReadOnly Property Scheme As String

Property Value

Type: System.String
"https" if the security mode in the transport binding element is set to Transport or TransportWithMessageCredential; otherwise, "http".


			' Get Scheme value
			' Output of txtScheme: http
			Dim txtScheme As String = binding.Scheme



Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft