[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Checks if hook of type is contained in internal collection of hooks

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework.ManagementPoint
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
bool 
ContainsHook<T>()
where T : 

MPMessageBodyHook
Public 
Function 
ContainsHook(
Of T 
As 

MPMessageBodyHook) 
As 
Boolean
public:
generic<
typename T>
where T : 

MPMessageBodyHook
bool 
ContainsHook()

Type Parameters

T
Hook type

See Also