System.ComponentModel.AsyncOperation.VerifyDelegateNotNull C# (CSharp) Method

VerifyDelegateNotNull() private method

private VerifyDelegateNotNull ( SendOrPostCallback d ) : void
d SendOrPostCallback
return void
        private void VerifyDelegateNotNull(SendOrPostCallback d)
        {
            if (d == null)
            {
                throw new ArgumentNullException(SR.GetString(SR.Async_NullDelegate), "d");
            }
        }