StreamSecurityUpgradeAcceptor Class
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.
To implement a custom security upgrade acceptor, inherit from this abstract
base class.
public ref class StreamSecurityUpgradeAcceptor abstract : System::ServiceModel::Channels::StreamUpgradeAcceptor
public abstract class StreamSecurityUpgradeAcceptor : System.ServiceModel.Channels.StreamUpgradeAcceptor
type StreamSecurityUpgradeAcceptor = class
inherit StreamUpgradeAcceptor
Public MustInherit Class StreamSecurityUpgradeAcceptor
Inherits StreamUpgradeAcceptor
- Inheritance
Remarks
This class is used with StreamSecurityUpgradeInitiator and StreamSecurityUpgradeProvider to implement a security stream upgrade.
For a detailed description of the upgrade process, see StreamUpgradeProvider.
Constructors
StreamSecurityUpgradeAcceptor() |
Initializes a new instance of the StreamSecurityUpgradeAcceptor class. |
Methods
AcceptUpgrade(Stream) |
Upgrades the transport stream and returns the upgraded stream. (Inherited from StreamUpgradeAcceptor) |
BeginAcceptUpgrade(Stream, AsyncCallback, Object) |
Asynchronous version of AcceptUpgrade(Stream). (Inherited from StreamUpgradeAcceptor) |
CanUpgrade(String) |
Determines whether the upgrade requested is supported by this upgrade acceptor. (Inherited from StreamUpgradeAcceptor) |
EndAcceptUpgrade(IAsyncResult) |
Asynchronous version of AcceptUpgrade(Stream). (Inherited from StreamUpgradeAcceptor) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetRemoteSecurity() |
Gets the security message property provided on the stream for performing custom security negotiation based on the information provided in the security context. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om