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!

AccessException Class

Represents a failed attempt to access a type member (method, field, etc.).

Object
   Exception
      SystemException
         AccessException

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

Remarks

AccessException is thrown by the following methods: Invoke of the System.Reflection Namespace classes (see ConstructorInfo, MethodInfo, etc.), GetValue and SetValue of the FieldInfo, DynamicInvoke of the delegate classes (see Delegate).

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

AccessException Members | System Namespace