Muokkaa

Jaa


StreamSecurityUpgradeAcceptor Class

Definition

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
StreamSecurityUpgradeAcceptor

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