System.ComponentModel.AsyncOperation.CreateOperation C# (CSharp) 메소드

CreateOperation() 정적인 개인적인 메소드

Only for use by AsyncOperationManager to create new AsyncOperation objects
static private CreateOperation ( object userSuppliedState, SynchronizationContext syncContext ) : AsyncOperation
userSuppliedState object
syncContext System.Threading.SynchronizationContext
리턴 AsyncOperation
        internal static AsyncOperation CreateOperation(object userSuppliedState, SynchronizationContext syncContext)
        {
            AsyncOperation newOp = new AsyncOperation(userSuppliedState, syncContext); 
            return newOp;
        }
    }

Usage Example

예제 #1
0
 public static AsyncOperation CreateOperation(object userSuppliedState)
 {
     return(AsyncOperation.CreateOperation(userSuppliedState, SynchronizationContext));
 }