OnOpen Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Signaled by the Open 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 OnOpen ( _
ByRef stream As Stream, _
ctx As BindingContext _
) As BindingElement.ChainResult
protected virtual BindingElement.ChainResult OnOpen(
ref Stream stream,
BindingContext ctx
)
protected:
virtual BindingElement::ChainResult OnOpen(
Stream^% stream,
BindingContext^ ctx
)
abstract OnOpen :
stream:Stream byref *
ctx:BindingContext -> BindingElement.ChainResult
override OnOpen :
stream:Stream byref *
ctx:BindingContext -> BindingElement.ChainResult
protected function OnOpen(
stream : Stream,
ctx : BindingContext
) : BindingElement..::..ChainResult
Parameters
- stream
Type: System.IO. . :: . .Stream%
The stream being opened.
- 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.