[This is preliminary documentation and is subject to change.]
Gets the default properties for a transport protocol.
Each transport protocol supported by the Adk is represented by a class
that implements the Transport interface. Transports are identified by
a string such as "http" or "https". Like Zones, each Transport instance
is associated with a set of properties specific to the transport
protocol. Such properties may include IP address, port, SSL security
attributes, and so on. The default properties for a given transport
protocol may be obtained by calling this method.
| C# | Visual Basic | Visual C++ |
public virtual TransportProperties GetDefaultTransportProperties( string protocol )
Public Overridable Function GetDefaultTransportProperties ( _ protocol As String _ ) As TransportProperties
public: virtual TransportProperties^ GetDefaultTransportProperties ( String^ protocol )
- protocol (String)
The default properties for the specified protocol
| Exception | Condition |
|---|---|
| AdkTransportException | is thrown if the protocol is not supported
by the Adk
|