Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- storepermission.cs
- SqlUnionizer.cs
- GeneralTransform.cs
- smtppermission.cs
- Line.cs
- RightsManagementUser.cs
- SmuggledIUnknown.cs
- FontUnitConverter.cs
- MethodToken.cs
- SmiTypedGetterSetter.cs
- DataGridViewMethods.cs
- Condition.cs
- DSASignatureFormatter.cs
- ControlAdapter.cs
- HotSpotCollection.cs
- ExpressionBuilderContext.cs
- GPRECTF.cs
- LoadMessageLogger.cs
- FormViewDeleteEventArgs.cs
- Rotation3DAnimation.cs
- PageTheme.cs
- GACMembershipCondition.cs
- TickBar.cs
- WSDualHttpSecurity.cs
- EastAsianLunisolarCalendar.cs
- LocalBuilder.cs
- EventlogProvider.cs
- Baml2006SchemaContext.cs
- WindowsRichEditRange.cs
- X509PeerCertificateAuthentication.cs
- Base64Decoder.cs
- CryptoConfig.cs
- Win32Interop.cs
- ProviderException.cs
- CryptoApi.cs
- ConfigXmlElement.cs
- DataIdProcessor.cs
- ListView.cs
- HMACRIPEMD160.cs
- Byte.cs
- MustUnderstandBehavior.cs
- Missing.cs
- SimpleApplicationHost.cs
- CLSCompliantAttribute.cs
- Int16AnimationUsingKeyFrames.cs
- UpdateEventArgs.cs
- ProfileInfo.cs
- ControlPropertyNameConverter.cs
- Types.cs
- RequestCacheManager.cs
- AssociatedControlConverter.cs
- DiffuseMaterial.cs
- RequestSecurityTokenResponse.cs
- Normalization.cs
- Object.cs
- XmlAnyElementAttribute.cs
- ControlAdapter.cs
- FormsAuthenticationConfiguration.cs
- FileNotFoundException.cs
- FileSystemEventArgs.cs
- Viewport3DAutomationPeer.cs
- UIPropertyMetadata.cs
- XmlStringTable.cs
- SessionStateItemCollection.cs
- CapabilitiesUse.cs
- ValueUtilsSmi.cs
- Int32Rect.cs
- WebPartsSection.cs
- CacheRequest.cs
- AuthenticateEventArgs.cs
- Literal.cs
- ACL.cs
- FlowSwitchDesigner.xaml.cs
- WebBrowser.cs
- DataBoundControlAdapter.cs
- XmlAttributes.cs
- ObjectConverter.cs
- Splitter.cs
- TextTreeTextNode.cs
- ConfigXmlDocument.cs
- FullTextBreakpoint.cs
- WebPartCloseVerb.cs
- AsymmetricKeyExchangeDeformatter.cs
- StorageInfo.cs
- CommandHelper.cs
- FontClient.cs
- TypographyProperties.cs
- Script.cs
- HwndHost.cs
- ContactManager.cs
- MultipleViewPatternIdentifiers.cs
- EdmFunctionAttribute.cs
- StringFormat.cs
- OdbcConnectionStringbuilder.cs
- SevenBitStream.cs
- BlurBitmapEffect.cs
- TextRunProperties.cs
- TextTreeTextElementNode.cs
- HostedTransportConfigurationBase.cs
- CodeTypeMemberCollection.cs