10 2009 档案
SharePoint: Feature 定制 实例
摘要:Feature Name: NDPTemplate1Class Library Name: NDPTemlate1.dll1.建立dll, 项目命名为NDPTemplate12.引入Microsoft.SharePoint3.加入Template,Features,NDPTemplate1文件夹, 层次为:Template\Features\NDPTemplate14.在NDPTemplate1文...
阅读全文
线程池
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ConsoleApplication1{ class Print { public void printNumbers() { Monitor.Enter(this); ...
阅读全文
线程同步lock and monitor
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ConsoleApplication1{ class Print { public void printNumbers() { Monitor.Enter(this); ...
阅读全文
委托异步调用 C#
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Remoting.Messaging; //AsyncResult需要此命名空间 using System.Threading; //Thread.Sleep(5000)需要此命名空间names...
阅读全文
应用程序域编程
摘要:Imports System.AppDomainImports System.ReflectionModule Module1 Sub Main() Dim _domain As AppDomain = AppDomain.CurrentDomain() Dim _assemblys() As Assembly = _domain.GetAssemblies() For Each a As Ass...
阅读全文
进程诊断与编程
摘要:Imports System.DiagnosticsModule Module1 Sub Main() Dim _p As Process = Process.Start("iexplore", "http://www.g.cn") Dim _threads As ProcessThreadCollection = _p.Threads Console.WriteLine("Process:{0}...
阅读全文
委托异步调用 VB
摘要:Imports System.DelegateImports System.ThreadingDelegate Function BinaryOp(ByVal arg1 As Integer, ByVal arg2 As Integer) As IntegerModule Module1 Sub Main() Dim b As BinaryOp = AddressOf Add Dim IAR As...
阅读全文
浙公网安备 33010602011771号