コード例 #1
0
 public static int MQGetSecurityContextEx(out SecurityContextHandle securityContext)
 {
     try
     {
     return IntMQGetSecurityContextEx(IntPtr.Zero, 0, out securityContext);
     }
     catch (DllNotFoundException ex)
     {
     throw new InvalidOperationException(Res.GetString("MSMQNotInstalled"));
     }
 }
コード例 #2
0
 private static extern int IntMQGetSecurityContextEx(IntPtr lpCertBuffer, int dwCertBufferLength, out SecurityContextHandle phSecurityContext);
コード例 #3
0
 internal SecurityContext(SecurityContextHandle securityContext)
 {
     this.handle = securityContext;
 }