Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the statements within the clause. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RolePrincipal.cs
- WebPartDisplayModeEventArgs.cs
- BounceEase.cs
- DBPropSet.cs
- TemplateBuilder.cs
- Grant.cs
- EntityProviderServices.cs
- Geometry3D.cs
- XmlNode.cs
- IsolatedStorageException.cs
- Image.cs
- XmlConvert.cs
- DbXmlEnabledProviderManifest.cs
- QueryContinueDragEventArgs.cs
- ClientData.cs
- BitStack.cs
- Pointer.cs
- TableCellAutomationPeer.cs
- Mutex.cs
- BackStopAuthenticationModule.cs
- IgnoreDeviceFilterElement.cs
- FragmentNavigationEventArgs.cs
- DefaultValueAttribute.cs
- QuadraticBezierSegment.cs
- ListItemCollection.cs
- ActivityDesignerLayoutSerializers.cs
- DurableInstanceProvider.cs
- Margins.cs
- SoapSchemaExporter.cs
- JpegBitmapEncoder.cs
- ConditionValidator.cs
- storepermission.cs
- MonitorWrapper.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Hex.cs
- LicenseProviderAttribute.cs
- ClientSideProviderDescription.cs
- IRCollection.cs
- EntityDescriptor.cs
- TextBoxView.cs
- LogPolicy.cs
- Utility.cs
- Util.cs
- BooleanAnimationBase.cs
- DbBuffer.cs
- WindowsUpDown.cs
- XmlNodeComparer.cs
- FindCriteriaApril2005.cs
- MatrixConverter.cs
- CqlLexer.cs
- MaterializeFromAtom.cs
- DataGridTextBoxColumn.cs
- ParameterRetriever.cs
- TextSerializer.cs
- DomainConstraint.cs
- TypeForwardedToAttribute.cs
- Descriptor.cs
- BinaryMethodMessage.cs
- WsatEtwTraceListener.cs
- Serializer.cs
- CustomErrorCollection.cs
- DebuggerAttributes.cs
- activationcontext.cs
- FileDialog_Vista_Interop.cs
- ProcessHost.cs
- FormsAuthenticationUser.cs
- DynamicDataExtensions.cs
- SamlAttribute.cs
- MulticastOption.cs
- ConfigUtil.cs
- StylusPointPropertyInfoDefaults.cs
- ComAwareEventInfo.cs
- ResXFileRef.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- GenerateHelper.cs
- TemplateLookupAction.cs
- Utils.cs
- DiscreteKeyFrames.cs
- AssociationTypeEmitter.cs
- HttpInputStream.cs
- Panel.cs
- FileAuthorizationModule.cs
- DrawingDrawingContext.cs
- Expressions.cs
- ScaleTransform3D.cs
- RelationshipEndMember.cs
- XmlExpressionDumper.cs
- DataGridAutoFormat.cs
- HtmlEmptyTagControlBuilder.cs
- updatecommandorderer.cs
- Models.cs
- DataSourceView.cs
- XmlSchemaAnnotated.cs
- ItemsPanelTemplate.cs
- XamlSerializerUtil.cs
- Attributes.cs
- SessionState.cs
- EditorReuseAttribute.cs
- MenuTracker.cs
- Line.cs