View Source
  Class SystemLock
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
  Constructors
  
  
    View Source
  
  SystemLock()
  
  
  Declaration
  
  
    View Source
  
  SystemLock(String)
  
  
  Declaration
  
    public SystemLock(string name)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | name |  | 
    
  
  Methods
  
  
    View Source
  
  Lock()
  
  
  Declaration
  
    public IDisposable? Lock()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<IDisposable> |  | 
    
  
  
    View Source
  
  Lock(Int32)
  
  
  Declaration
  
    public IDisposable? Lock(int millisecondsTimeout)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int32 | millisecondsTimeout |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<IDisposable> |  |