StreamSecurityUpgradeAcceptor StreamSecurityUpgradeAcceptor StreamSecurityUpgradeAcceptor 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
StreamSecurityUpgradeAcceptorStreamSecurityUpgradeAcceptorStreamSecurityUpgradeAcceptorStreamSecurityUpgradeAcceptor

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() StreamSecurityUpgradeAcceptor() StreamSecurityUpgradeAcceptor() StreamSecurityUpgradeAcceptor()

Initializes a new instance of the StreamSecurityUpgradeAcceptor class.

Methods

AcceptUpgrade(Stream) AcceptUpgrade(Stream) AcceptUpgrade(Stream) AcceptUpgrade(Stream)

Upgrades the transport stream and returns the upgraded stream.

(Inherited from StreamUpgradeAcceptor)
BeginAcceptUpgrade(Stream, AsyncCallback, Object) BeginAcceptUpgrade(Stream, AsyncCallback, Object) BeginAcceptUpgrade(Stream, AsyncCallback, Object) BeginAcceptUpgrade(Stream, AsyncCallback, Object)

Asynchronous version of AcceptUpgrade(Stream).

(Inherited from StreamUpgradeAcceptor)
CanUpgrade(String) CanUpgrade(String) CanUpgrade(String) CanUpgrade(String)

Determines whether the upgrade requested is supported by this upgrade acceptor.

(Inherited from StreamUpgradeAcceptor)
EndAcceptUpgrade(IAsyncResult) EndAcceptUpgrade(IAsyncResult) EndAcceptUpgrade(IAsyncResult) EndAcceptUpgrade(IAsyncResult)

Asynchronous version of AcceptUpgrade(Stream).

(Inherited from StreamUpgradeAcceptor)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRemoteSecurity() GetRemoteSecurity() GetRemoteSecurity() 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() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also