Export (0) Print
Expand All

GatedCheckinException Class

Exception to indicate that a check-in was denied because of the gated check-in plugin.

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

[SerializableAttribute]
public sealed class GatedCheckinException : ActionDeniedBySubscriberException

The GatedCheckinException type exposes the following members.

  NameDescription
Public propertyAffectedBuildDefinitionsGets a collection of build definitions that blocked the check-in attempt. This property is always valid.
Public propertyBuildUriGets the uniform resource identifier (URI) of the build that is queued for check-in. This property is valid when the SubCode is 3.
Public propertyCheckInContainsLocksGets a flag that indicates whether the set of pending changes that is being checked in contains at least one pending change that has the Lock bit set. This property is not set for shelvesets.
Public propertyCheckInTicketGets the check-in ticket that is provided by the server for submitting a CheckInShelveset build request.
Public propertyDataGets the data associated with this exception, if any. (Inherited from TeamFoundationServerException.)
Public propertyErrorCode (Inherited from VssException.)
Public propertyEventId (Inherited from VssException.)
Public propertyHasOverridePermissionGets a flag that indicates whether the user that performed the check-in has the required permissions to override the gated check-in policy. This property is always valid.
Public propertyHelpLinkGets or sets a link to the help file associated with this 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 propertyOverridePermissionFailuresGets a read-only collection of team projects for which the caller is missing the 'Override check-in validation by build' permission. This property is valid when SubCode is 4.
Public propertyQueueIdGets the queue ID for the build that is queued for check-in. This property is valid when the SubCode is 3.
Public propertyReportException (Inherited from VssException.)
Public propertyShelvesetNameGets the name of the shelveset. This property is valid when the SubCode is 1 or 3.
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 propertyStatusCodeGets the error code that was provided by the subscriber. (Inherited from ActionDeniedBySubscriberException.)
Public propertySubCodeGets the subcode for this exception.
Public propertySubscriberNameGets the name of the subscriber that denied the action. (Inherited from ActionDeniedBySubscriberException.)
Public propertySubscriberTypeGets the type name of the subscriber that denied the action. (Inherited from ActionDeniedBySubscriberException.)
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.)
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.)
Public methodToStringCreates and returns a string representation of the current 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:
© 2014 Microsoft