ErrorCategoryInfo.TargetType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Text description of the type of the target object.
public:
property System::String ^ TargetType { System::String ^ get(); void set(System::String ^ value); };
public:
property Platform::String ^ TargetType { Platform::String ^ get(); void set(Platform::String ^ value); };
public string TargetType { get; set; }
member this.TargetType : string with get, set
Public Property TargetType As String
Property Value
text description of the type of the target object
Remarks
By default, this is TargetObject.GetType().ToString(), or the empty string if the target object is null. The default can be overridden by calling Set with a non-empty value, for example "Active Directory User".