DocumentNotCustomizedException الفئة
استثناء هو تم طرح عند محاولة إجراء عملية غير صالحة تشغيل مستند باستخدام ServerDocumentفئة.
مساحة الاسم: Microsoft.VisualStudio.Tools.Applications.Runtime
التجميع: Microsoft.VisualStudio.Tools.Applications.Runtime (في Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
بناء الجملة
'إقرار
<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class DocumentNotCustomizedException _
Inherits RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class DocumentNotCustomizedException : RuntimeException
ملاحظات
هذا الاستثناء تم طرح في الحالات التالية:
إذا استخدمت ServerDocument.ServerDocumentconstrucإلىr إلى بفتح مستند لا يحتوي بالفعل cusإلىmization، وحاولت إلى بفتح المستند في القراءة فقط الوضع.
عند محاولة يرفق تخصيص إلى مستند باستخدام AddCustomizationالأسلوب، ولكن المستند هو معطوب أو قام بتقييد permهوsions.
التسلسل الهيكلي للإرث
System.Object
System.Exception
Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentNotCustomizedException
أمان العملية الجزئية
يتم تأمين العملية الجزئية لأي عضو عمومي ثابت (مشترك في Visual Basic) من هذا النوع. لن يتم ضمان تأمين العملية الجزئية لأي عضو مثيل.
راجع أيضًَا
المرجع
DocumentNotCustomizedException الأعضاء
Microsoft.VisualStudio.Tools.Applications.Runtime مساحة الاسم