SPServiceDiagnosticsContextBehavior.BeforeInvoke method
Namespace: Microsoft.SharePoint.Diagnostics.Service
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function BeforeInvoke ( _
instanceContext As InstanceContext, _
channel As IClientChannel, _
message As Message _
) As Object
'Usage
Dim instance As SPServiceDiagnosticsContextBehavior
Dim instanceContext As InstanceContext
Dim channel As IClientChannel
Dim message As Message
Dim returnValue As Object
returnValue = instance.BeforeInvoke(instanceContext, _
channel, message)
public Object BeforeInvoke(
InstanceContext instanceContext,
IClientChannel channel,
Message message
)
Parameters
- instanceContext
Type: System.ServiceModel.InstanceContext
- channel
Type: System.ServiceModel.IClientChannel
- message
Type: System.ServiceModel.Channels.Message
Return value
Type: System.Object
Implements
ICallContextInitializer.BeforeInvoke(InstanceContext, IClientChannel, Message)
See also
Reference
SPServiceDiagnosticsContextBehavior class