ClientException Class

Base class for all client-generated exceptions.

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.TeamFoundation.TeamFoundationServerException
          Microsoft.TeamFoundation.WorkItemTracking.Client.ClientException
            More...

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

[SerializableAttribute]
public class ClientException : TeamFoundationServerException

The ClientException type exposes the following members.

  NameDescription
Public methodClientException()Initializes a new ClientException instance.
Public methodClientException(String)Initializes a new ClientException instance.
Protected methodClientException(SerializationInfo, StreamingContext)Initializes a new ClientException instance.
Public methodClientException(String, Exception)Initializes a new ClientException instance.
Public methodClientException(String, Int32, Exception)Initializes a new ClientException instance.
Top

  NameDescription
Public propertyDataGets the data associated with this exception, if any. (Inherited from TeamFoundationServerException.)
Public propertyErrorCode (Inherited from VssException.)
Public propertyErrorIdGets or sets the error ID of this exception.
Public propertyEventId (Inherited from VssException.)
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 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 propertyReportException (Inherited from VssException.)
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.)
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.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.)
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.

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.TeamFoundation.TeamFoundationServerException
          Microsoft.TeamFoundation.WorkItemTracking.Client.ClientException
            Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveFailedException
            Microsoft.TeamFoundation.WorkItemTracking.Client.CannotChangePageSizeException
            Microsoft.TeamFoundation.WorkItemTracking.Client.ConnectionException
            Microsoft.TeamFoundation.WorkItemTracking.Client.DeniedOrNotExistException
            Microsoft.TeamFoundation.WorkItemTracking.Client.DuplicateBatchReadParameterException
            Microsoft.TeamFoundation.WorkItemTracking.Client.DuplicateWorkItemException
            Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionNotExistException
            Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException
            Microsoft.TeamFoundation.WorkItemTracking.Client.IdentityNotExistException
            Microsoft.TeamFoundation.WorkItemTracking.Client.InvalidFieldValueException
            Microsoft.TeamFoundation.WorkItemTracking.Client.InvalidProjectException
            Microsoft.TeamFoundation.WorkItemTracking.Client.InvalidTreeNodeException
            Microsoft.TeamFoundation.WorkItemTracking.Client.ItemAlreadyUpdatedOnServerException
            Microsoft.TeamFoundation.WorkItemTracking.Client.PageSizeRangeException
            Microsoft.TeamFoundation.WorkItemTracking.Client.ReadOnlyFieldException
            Microsoft.TeamFoundation.WorkItemTracking.Client.RequestCancelledByUserException
            Microsoft.TeamFoundation.WorkItemTracking.Client.RequestNotCancelableException
            Microsoft.TeamFoundation.WorkItemTracking.Client.UnexpectedErrorException
            Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException
            Microsoft.TeamFoundation.WorkItemTracking.Client.VerbatimMessageException
            Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemChangeRejectedException
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft