CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Async
new AsyncNetTask(myContext, myHandler) {
 
    // 작업중에 필요한 변수가 있다면 finalize 하거나 이 객체의 생성자 인자로 넘길 수 있을 것입니다.
    // 유지해야 하는 변수라면 멤버 변수 등을 사용할 수도 있을 것입니다.
    Mydata mData;
 
    @Override
    protected TcpEnvelope onPreExecute() {
        return makeEnvelope();
    }
by arngard   November 17, 2011 @ 8:26pm
31 Views
no comments
 
C#
public void LogSnippetViewAsync(string snippetId, string ipAddress, string userAgent)
{
    Func<string, string, string, bool> del = this.LogSnippetView; 
    del.BeginInvoke(snippetId, ipAddress,userAgent,null,null);            
}
 
public bool LogSnippetView(string snippetId, string ipAddress, string userAgent)
{
    if (string.IsNullOrEmpty(userAgent))
        return false;
by Rick Strahl   September 24, 2009 @ 3:31pm
499 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate