BclExtras.Threading.OperationContext.ThrowIfCanceled C# (CSharp) Méthode

ThrowIfCanceled() public méthode

public ThrowIfCanceled ( ) : void
Résultat void
        public void ThrowIfCanceled()
        {
            if (m_cancelled)
            {
                throw new OperationCanceledException("Operation was cancelled");
            }
        }