NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NoIDispatchAttribute Class

This attribute is used to control how the class responds to queries for an IDispatch Interface. If the attribute is present, all calls to QueryInterface that request IID_IDispatch will return E_NOINTERFACE. If the attribute is missing, the class will respond to queries for IID_IDispatch by returning either the class interface or the interface that is explicitly marked as the class's default interface. For details on selecting the default interface see the HasDefaultInterfaceAttribute.

Object
   Attribute
      NoIDispatchAttribute

[Visual Basic]
Public Class NoIDispatchAttribute
   Inherits Attribute
[C#]
public class NoIDispatchAttribute : Attribute
[C++]
public __gc class NoIDispatchAttribute : public Attribute
[JScript]
public class NoIDispatchAttribute extends Attribute

Remarks

[To be supplied.]

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

NoIDispatchAttribute Members | System.Runtime.InteropServices Namespace