This documentation is archived and is not being maintained.

AccessCheckException Class

An exception that will be thrown whenever a check permission call fails.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

[SerializableAttribute]
public ref class AccessCheckException : public TeamFoundationSecurityServiceException

The AccessCheckException type exposes the following members.

  NameDescription
Public methodAccessCheckException(String, Exception)
Public methodAccessCheckException(Identity, String, Int32, Guid, String)Constructs an AccessCheckException with the provided message.
Top

  NameDescription
Public propertyDataGets the data associated with this exception, if any. (Inherited from TeamFoundationServerException.)
Public propertyErrorCode (Inherited from VssException.)
Public propertyEventId (Inherited from VssException.)
Public propertyFaultCodeIndicate the SOAP fault code for the exception. (Inherited from TeamFoundationServiceException.)
Public propertyHelpLinkGets or sets a link to the help file associated with this exception. (Inherited from Exception.)
Protected propertyHResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
Public propertyIdentityThe descriptor of the user being checked.
Public propertyInnerExceptionGets the Exception instance that caused the current exception. (Inherited from Exception.)
Public propertyIsRemoteExceptionGets a flag describing whether this exception was thrown by the server and received by the client. (Inherited from TeamFoundationServerException.)
Public propertyLogException (Inherited from VssException.)
Public propertyLogLevel (Inherited from VssException.)
Public propertyMessageGets a message that describes the current exception. (Inherited from Exception.)
Public propertyNamespaceIdThe ID of the security namespace this exception is being thrown from.
Public propertyReportException (Inherited from VssException.)
Public propertyRequestContextThe RequestContext associated with this exception. This may be null. (Inherited from TeamFoundationServiceException.)
Public propertyRequestedPermissionsThe permissions being requested for the user.
Public propertySourceGets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
Public propertyStackTraceGets a string representation of the immediate frames on the call stack. (Inherited from Exception.)
Public propertyTargetSiteGets the method that throws the current exception. (Inherited from Exception.)
Public propertyTokenThe token being checked on.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.)
Protected methodGetExceptionPropertiesMake the exception properties serializable. (Overrides TeamFoundationServiceException::GetExceptionProperties(ExceptionPropertyCollection).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. Serialize the extra properties that are stored in this exception class. (Inherited from TeamFoundationServiceException.)
Public methodGetTypeGets the runtime type of the current instance. (Inherited from Exception.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringCreates and returns a string representation of the current exception. (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectStateOccurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: