Aracılığıyla paylaş


Overlapped Oluşturucular

Tanım

Overlapped sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Overlapped()

sınıfının yeni, boş bir örneğini Overlapped başlatır.

Overlapped(Int32, Int32, Int32, IAsyncResult)
Kullanımdan kalktı.
Kullanımdan kalktı.
Kullanımdan kalktı.
Kullanımdan kalktı.

Belirtilen dosya konumuyla sınıfının yeni bir örneğini Overlapped , G/Ç işlemi tamamlandığında sinyal verilen bir olaya 32 bit tamsayı tanıtıcısını ve işlemin sonuçlarını döndürmek için bir arabirim başlatır.

Overlapped(Int32, Int32, IntPtr, IAsyncResult)

Belirtilen dosya konumu, G/Ç işlemi tamamlandığında sinyal verilen bir olayın tanıtıcısı ve işlemin sonuçlarını döndürmek için bir arabirim ile sınıfının yeni bir örneğini Overlapped başlatır.

Overlapped()

sınıfının yeni, boş bir örneğini Overlapped başlatır.

public:
 Overlapped();
public Overlapped ();
Public Sub New ()

Şunlara uygulanır

Overlapped(Int32, Int32, Int32, IAsyncResult)

Dikkat

This constructor is not 64-bit compatible. Use the constructor that takes an IntPtr for the event handle. https://go.microsoft.com/fwlink/?linkid=14202

Dikkat

This constructor is not 64-bit compatible and has been deprecated. Use the constructor that accepts an IntPtr for the event handle instead.

Dikkat

This constructor is not 64-bit compatible. Use the constructor that takes an IntPtr for the event handle. http://go.microsoft.com/fwlink/?linkid=14202

Dikkat

Not 64bit compatible. Please use the constructor that takes IntPtr for the event handle

Belirtilen dosya konumuyla sınıfının yeni bir örneğini Overlapped , G/Ç işlemi tamamlandığında sinyal verilen bir olaya 32 bit tamsayı tanıtıcısını ve işlemin sonuçlarını döndürmek için bir arabirim başlatır.

public:
 Overlapped(int offsetLo, int offsetHi, int hEvent, IAsyncResult ^ ar);
[System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  https://go.microsoft.com/fwlink/?linkid=14202")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult? ar);
[System.Obsolete("This constructor is not 64-bit compatible and has been deprecated. Use the constructor that accepts an IntPtr for the event handle instead.")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult? ar);
[System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
[System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  https://go.microsoft.com/fwlink/?linkid=14202")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
[System.Obsolete("Not 64bit compatible.  Please use the constructor that takes IntPtr for the event handle")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
[<System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
[<System.Obsolete("This constructor is not 64-bit compatible and has been deprecated. Use the constructor that accepts an IntPtr for the event handle instead.")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
[<System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
[<System.Obsolete("Not 64bit compatible.  Please use the constructor that takes IntPtr for the event handle")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
Public Sub New (offsetLo As Integer, offsetHi As Integer, hEvent As Integer, ar As IAsyncResult)

Parametreler

offsetLo
Int32

Aktarımın başlatıldığı dosya konumunun düşük sözcüğü.

offsetHi
Int32

Aktarımın başlatıldığı dosya konumunun yüksek sözcüğü.

hEvent
Int32

G/Ç işlemi tamamlandığında sinyal verilen bir olayın tanıtıcısı.

ar
IAsyncResult

Arabirimi uygulayan IAsyncResult ve G/Ç işlemiyle ilgili durum bilgilerini sağlayan bir nesne.

Öznitelikler

Açıklamalar

sınıfından WaitHandle.Handle türetilen herhangi bir yönetilen eşitleme olayının tanıtıcısını WaitHandle almak için özelliğini kullanın.

uygulamanız IAsyncResult G/Ç işlemiyle ilgili durum bilgilerini sağlar. bunu parametresindeki ar oluşturucuya geçirin ve daha sonra özelliğiyle AsyncResult alın. veya yöntemi için Pack bir geri çağırma yöntemi belirtilirse, geri çağırma, aldığı yapıyı NativeOverlapped açarak öğesini IAsyncResult UnsafePack alabilir.

Şunlara uygulanır

Overlapped(Int32, Int32, IntPtr, IAsyncResult)

Belirtilen dosya konumu, G/Ç işlemi tamamlandığında sinyal verilen bir olayın tanıtıcısı ve işlemin sonuçlarını döndürmek için bir arabirim ile sınıfının yeni bir örneğini Overlapped başlatır.

public:
 Overlapped(int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult ^ ar);
public Overlapped (int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult? ar);
public Overlapped (int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult ar);
new System.Threading.Overlapped : int * int * nativeint * IAsyncResult -> System.Threading.Overlapped
Public Sub New (offsetLo As Integer, offsetHi As Integer, hEvent As IntPtr, ar As IAsyncResult)

Parametreler

offsetLo
Int32

Aktarımın başlatıldığı dosya konumunun düşük sözcüğü.

offsetHi
Int32

Aktarımın başlatıldığı dosya konumunun yüksek sözcüğü.

hEvent
IntPtr

nativeint

G/Ç işlemi tamamlandığında sinyal verilen bir olayın tanıtıcısı.

ar
IAsyncResult

Arabirimi uygulayan IAsyncResult ve G/Ç işlemiyle ilgili durum bilgilerini sağlayan bir nesne.

Açıklamalar

sınıfından türetilen WaitHandle yönetilen eşitleme nesnesinin tanıtıcısını almak için nesnesini almak SafeWaitHandle için özelliğini kullanın WaitHandle.SafeWaitHandle ve yöntemini çağırınDangerousGetHandle.

uygulamanız IAsyncResult G/Ç işlemiyle ilgili durum bilgilerini sağlar. bunu parametresindeki ar oluşturucuya geçirin ve daha sonra özelliğiyle AsyncResult alın. veya yöntemi için Pack bir geri çağırma yöntemi belirtilirse, geri çağırma, aldığı yapıyı NativeOverlapped açarak öğesini IAsyncResult UnsafePack alabilir.

Şunlara uygulanır