StreamUpgradeAcceptor Class
To implement a custom upgrade acceptor, inherited from this abstract base class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Channels.StreamUpgradeAcceptor
System.ServiceModel.Channels.StreamSecurityUpgradeAcceptor
| Name | Description | |
|---|---|---|
![]() | StreamUpgradeAcceptor() | Initializes a new instance of the StreamUpgradeAcceptor class. |
| Name | Description | |
|---|---|---|
![]() | AcceptUpgrade(Stream) | Upgrades the transport stream and returns the upgraded stream. |
![]() | BeginAcceptUpgrade(Stream, AsyncCallback, Object) | Asynchronous version of AcceptUpgrade. |
![]() | CanUpgrade(String) | Determines whether the upgrade requested is supported by this upgrade acceptor. |
![]() | EndAcceptUpgrade(IAsyncResult) | Asynchronous version of AcceptUpgrade. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
An example of a stream upgrade is to build a compression stream directly on top of the transport stream.
This class is used with StreamUpgradeInitiator and StreamUpgradeProvider to implement a custom stream upgrade.
For a detailed description of the upgrade process, see StreamUpgradeProvider.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

