![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IMapTKey, TValueAddInterceptor Method |
Adds an interceptor for this map.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxstring AddInterceptor(
IMapInterceptor interceptor
)
Function AddInterceptor (
interceptor As IMapInterceptor
) As String
String^ AddInterceptor(
IMapInterceptor^ interceptor
)
abstract AddInterceptor :
interceptor : IMapInterceptor -> string
Parameters
- interceptor
- Type: Hazelcast.MapIMapInterceptor
map interceptor
Return Value
Type:
Stringid of registered interceptor
Remarks
Adds an interceptor for this map. Added interceptor will intercept operations
and execute user defined methods and will cancel operations if user defined method throw exception.
See Also