System.ServiceModel.Security.UserNamePasswordServiceCredential.ThrowIfImmutable C# (CSharp) Метод

ThrowIfImmutable() приватный Метод

private ThrowIfImmutable ( ) : void
Результат void
        void ThrowIfImmutable()
        {
            if (this.isReadOnly)
            {
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ObjectIsReadOnly)));
            }
        }
    }