Class SourceControlLockException
Исключение ошибки блокирования элементов системы в системе контроля версий.
Inheritance
System.Object
System.Exception
System.ApplicationException
SourceControlLockException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
[Serializable]
public class SourceControlLockException : SourceControlOperationException, ISerializable, _Exception
Constructors
SourceControlLockException(SerializationInfo, StreamingContext)
Declaration
protected SourceControlLockException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
SourceControlLockException(String, String, String)
Инициализирует новый экземпляр класса SourceControlLockException, с заданными сообщением об ошибке, именем заблокированного элемента системы и именем пользователя, заблокировавшего этот элемент.
Declaration
public SourceControlLockException(string message, string itemName, string userName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Текст ошибки. |
System.String | itemName | Имя элемента, вызвавшего ошибку. |
System.String | userName | Имя пользователя, заблокировавшего элемент. |
Properties
ItemName
Имя элемента, вызвавшего ошибку.
Declaration
public string ItemName { get; }
Property Value
Type | Description |
---|---|
System.String |
UserName
Имя пользователя, заблокировавшего элемент.
Declaration
public string UserName { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception