StreamUpgradeProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the StreamUpgradeProvider class.
Overloads
StreamUpgradeProvider() |
Initializes a new instance of the StreamUpgradeProvider class. |
StreamUpgradeProvider(IDefaultCommunicationTimeouts) |
Initializes a new instance of the StreamUpgradeProvider class. |
Remarks
To set explicit values for time-out properties, use StreamUpgradeProvider. Otherwise, use StreamUpgradeProvider, which will set the time-out properties to null
.
StreamUpgradeProvider()
- Source:
- StreamUpgradeProvider.cs
Initializes a new instance of the StreamUpgradeProvider class.
protected:
StreamUpgradeProvider();
protected StreamUpgradeProvider ();
Protected Sub New ()
Remarks
Time-out properties are set to null
.
Applies to
StreamUpgradeProvider(IDefaultCommunicationTimeouts)
- Source:
- StreamUpgradeProvider.cs
Initializes a new instance of the StreamUpgradeProvider class.
protected:
StreamUpgradeProvider(System::ServiceModel::IDefaultCommunicationTimeouts ^ timeouts);
protected StreamUpgradeProvider (System.ServiceModel.IDefaultCommunicationTimeouts timeouts);
new System.ServiceModel.Channels.StreamUpgradeProvider : System.ServiceModel.IDefaultCommunicationTimeouts -> System.ServiceModel.Channels.StreamUpgradeProvider
Protected Sub New (timeouts As IDefaultCommunicationTimeouts)
Parameters
- timeouts
- IDefaultCommunicationTimeouts
The default communication time-outs.
Remarks
The provided time-outs control the default Open and Close time-outs for a transport using this upgrade provider.