OnClose Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Signaled by the Close method to enable a subclass to create a binding element for a specific purpose.
Namespace: Ws.Services.Binding
Assembly: MFWsStack (in MFWsStack.dll)
Syntax
'Declaration
Protected Overridable Function OnClose ( _
stream As Stream, _
ctx As BindingContext _
) As BindingElement.ChainResult
protected virtual BindingElement.ChainResult OnClose(
Stream stream,
BindingContext ctx
)
protected:
virtual BindingElement::ChainResult OnClose(
Stream^ stream,
BindingContext^ ctx
)
abstract OnClose :
stream:Stream *
ctx:BindingContext -> BindingElement.ChainResult
override OnClose :
stream:Stream *
ctx:BindingContext -> BindingElement.ChainResult
protected function OnClose(
stream : Stream,
ctx : BindingContext
) : BindingElement..::..ChainResult
Parameters
- stream
Type: System.IO. . :: . .Stream
The stream being closed.
- ctx
Type: Ws.Services.Binding. . :: . .BindingContext
The context for the stream.
Return Value
Type: Ws.Services.Binding. . :: . .BindingElement. . :: . .ChainResult
The handling status for this operation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.