DynamicValidatorEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / DynamicData / DynamicValidatorEventArgs.cs / 1 / DynamicValidatorEventArgs.cs

                            namespace System.Web.DynamicData {using System; 
    using System.Web.UI;

    [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] 
    public class DynamicValidatorEventArgs : EventArgs {
 
        private DynamicDataSourceOperation _operation; 
        private Exception _exception;
 
        public DynamicValidatorEventArgs(Exception exception, DynamicDataSourceOperation operation) {
            _exception = exception;
            _operation = operation;
        } 

        public Exception Exception { 
            get { 
                return _exception;
            } 
        }

        public DynamicDataSourceOperation Operation {
            get { 
                return _operation;
            } 
        } 

    } 

}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
namespace System.Web.DynamicData {using System; 
    using System.Web.UI;

    [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] 
    public class DynamicValidatorEventArgs : EventArgs {
 
        private DynamicDataSourceOperation _operation; 
        private Exception _exception;
 
        public DynamicValidatorEventArgs(Exception exception, DynamicDataSourceOperation operation) {
            _exception = exception;
            _operation = operation;
        } 

        public Exception Exception { 
            get { 
                return _exception;
            } 
        }

        public DynamicDataSourceOperation Operation {
            get { 
                return _operation;
            } 
        } 

    } 

}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK