The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IInstanceContextProvider::InitializeInstanceContext Method (InstanceContext^, Message^, IContextChannel^)
.NET Framework (current version)
Called when null is returned from the GetExistingInstanceContext method.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
void InitializeInstanceContext(
InstanceContext^ instanceContext,
Message^ message,
IContextChannel^ channel
)
Parameters
- instanceContext
-
Type:
System.ServiceModel::InstanceContext^
The new System.ServiceModel::InstanceContext object.
- message
-
Type:
System.ServiceModel.Channels::Message^
The incoming message.
- channel
-
Type:
System.ServiceModel::IContextChannel^
The channel that received the message.
InitializeInstanceContext is called when GetExistingInstanceContext returns null and a new InstanceContext object is created. This method is called to notify you that a new InstanceContext has been created.
.NET Framework
Available since 3.0
Available since 3.0
Show: