Märkus.
Juurdepääs sellele lehele nõuab autoriseerimist. Võite proovida sisse logida või kausta vahetada.
Juurdepääs sellele lehele nõuab autoriseerimist. Võite proovida kausta vahetada.
'finalizer_function' : a finalizer cannot have a storage-class-specifier
Remarks
For more information, see Destructors and finalizers in How to: Define and consume classes and structs (C++/CLI).
Example
The following example generates C3080.
// C3080.cpp
// compile with: /clr /c
ref struct rs {
protected:
static !rs(){} // C3080
!rs(){} // OK
};